Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QHostInfoCache Class Reference

#include <qhostinfo_p.h>

Collaboration diagram for QHostInfoCache:

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

Detailed Description

Definition at line 112 of file qhostinfo_p.h.

Constructor & Destructor Documentation

◆ QHostInfoCache()

QHostInfoCache::QHostInfoCache ( )

Definition at line 1107 of file qhostinfo.cpp.

Member Function Documentation

◆ clear()

void QHostInfoCache::clear ( )

Definition at line 1147 of file qhostinfo.cpp.

◆ get()

QHostInfo QHostInfoCache::get ( const QString & name,
bool * valid )

Definition at line 1114 of file qhostinfo.cpp.

◆ isEnabled()

bool QHostInfoCache::isEnabled ( )
inline

Definition at line 122 of file qhostinfo_p.h.

◆ put()

void QHostInfoCache::put ( const QString & name,
const QHostInfo & info )

Definition at line 1132 of file qhostinfo.cpp.

◆ setEnabled()

void QHostInfoCache::setEnabled ( bool e)
inline

Definition at line 125 of file qhostinfo_p.h.

Member Data Documentation

◆ max_age

const int QHostInfoCache::max_age

Definition at line 116 of file qhostinfo_p.h.


The documentation for this class was generated from the following files: