Qt 4.8
|
#include <qhostinfo_p.h>
Classes | |
struct | QHostInfoCacheElement |
Public Functions | |
void | clear () |
QHostInfo | get (const QString &name, bool *valid) |
bool | isEnabled () |
void | put (const QString &name, const QHostInfo &info) |
QHostInfoCache () | |
void | setEnabled (bool e) |
Public Variables | |
const int | max_age |
Properties | |
QCache< QString, QHostInfoCacheElement > | cache |
bool | enabled |
QMutex | mutex |
Definition at line 141 of file qhostinfo_p.h.
QHostInfoCache::QHostInfoCache | ( | ) |
Definition at line 765 of file qhostinfo.cpp.
void QHostInfoCache::clear | ( | ) |
Definition at line 819 of file qhostinfo.cpp.
Referenced by QHostInfoLookupManager::clear().
Definition at line 785 of file qhostinfo.cpp.
Referenced by QHostInfo::lookupHost(), qt_qhostinfo_lookup(), and QHostInfoRunnable::run().
bool QHostInfoCache::isEnabled | ( | ) |
Definition at line 772 of file qhostinfo.cpp.
Referenced by QHostInfo::lookupHost(), qt_qhostinfo_lookup(), and QHostInfoRunnable::run().
Definition at line 804 of file qhostinfo.cpp.
Referenced by QHostInfo::fromName(), QHostInfoPrivate::fromName(), and QHostInfoRunnable::run().
void QHostInfoCache::setEnabled | ( | bool | e | ) |
Definition at line 779 of file qhostinfo.cpp.
Referenced by qt_qhostinfo_enable_cache().
|
private |
Definition at line 159 of file qhostinfo_p.h.
|
private |
Definition at line 154 of file qhostinfo_p.h.
Referenced by isEnabled(), QHostInfoCache(), and setEnabled().
const int QHostInfoCache::max_age |
Definition at line 145 of file qhostinfo_p.h.
Referenced by get().
|
private |
Definition at line 160 of file qhostinfo_p.h.