Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#include <qhostinfo_p.h>
Public Member Functions | |
QHostInfoCache () | |
QHostInfo | get (const QString &name, bool *valid) |
void | put (const QString &name, const QHostInfo &info) |
void | clear () |
bool | isEnabled () |
void | setEnabled (bool e) |
Public Attributes | |
const int | max_age |
Definition at line 111 of file qhostinfo_p.h.
QHostInfoCache::QHostInfoCache | ( | ) |
Definition at line 1110 of file qhostinfo.cpp.
void QHostInfoCache::clear | ( | ) |
Definition at line 1150 of file qhostinfo.cpp.
Referenced by QHostInfoLookupManager::clear().
Definition at line 1117 of file qhostinfo.cpp.
|
inline |
Definition at line 121 of file qhostinfo_p.h.
Definition at line 1135 of file qhostinfo.cpp.
References cache, QHostInfo::error(), info, mutex, QHostInfo::NoError, and QElapsedTimer::start().
|
inline |
Definition at line 124 of file qhostinfo_p.h.
const int QHostInfoCache::max_age |
Definition at line 115 of file qhostinfo_p.h.
Referenced by get().