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>.
Loading...
Searching...
No Matches
qhostinfo_p.h File Reference

(5054279bee72044051e24c41bfcdeafdbe0b0009)

#include <QtNetwork/private/qtnetworkglobal_p.h>
#include "QtCore/qcoreapplication.h"
#include "private/qcoreapplication_p.h"
#include "private/qmetaobject_p.h"
#include "QtNetwork/qhostinfo.h"
#include "QtCore/qmutex.h"
#include "QtCore/qwaitcondition.h"
#include "QtCore/qobject.h"
#include "QtCore/qpointer.h"
#include "QtCore/qthread.h"
#include "QtCore/qrunnable.h"
#include "QtCore/qlist.h"
#include "QtCore/qqueue.h"
#include <QElapsedTimer>
#include <QCache>
#include <atomic>
+ Include dependency graph for qhostinfo_p.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  QHostInfoResult
 
class  QHostInfoAgent
 
class  QHostInfoPrivate
 
class  QHostInfoCache
 
class  QHostInfoRunnable
 
class  QHostInfoLookupManager
 

Functions

QHostInfo Q_NETWORK_EXPORT qt_qhostinfo_lookup (const QString &name, QObject *receiver, const char *member, bool *valid, int *id)
 
void Q_AUTOTEST_EXPORT qt_qhostinfo_clear_cache ()
 
void Q_AUTOTEST_EXPORT qt_qhostinfo_enable_cache (bool e)
 
void Q_AUTOTEST_EXPORT qt_qhostinfo_cache_inject (const QString &hostname, const QHostInfo &resolution)
 

Function Documentation

◆ qt_qhostinfo_cache_inject()

void Q_AUTOTEST_EXPORT qt_qhostinfo_cache_inject ( const QString & hostname,
const QHostInfo & resolution )

◆ qt_qhostinfo_clear_cache()

void Q_AUTOTEST_EXPORT qt_qhostinfo_clear_cache ( )

Definition at line 1081 of file qhostinfo.cpp.

References manager.

◆ qt_qhostinfo_enable_cache()

void Q_AUTOTEST_EXPORT qt_qhostinfo_enable_cache ( bool e)

◆ qt_qhostinfo_lookup()

QHostInfo Q_NETWORK_EXPORT qt_qhostinfo_lookup ( const QString & name,
QObject * receiver,
const char * member,
bool * valid,
int * id )

Definition at line 98 of file qhostinfo.cpp.

References emit, info, and QHostInfoResult::resultsReady().

Referenced by QAbstractSocket::connectToHost(), and QHttpNetworkConnectionPrivate::startHostInfoLookup().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: