equal
deleted
inserted
replaced
103 |
103 |
104 #if defined(Q_OS_WINCE) |
104 #if defined(Q_OS_WINCE) |
105 #include <qmutex.h> |
105 #include <qmutex.h> |
106 QMutex qPrivCEMutex; |
106 QMutex qPrivCEMutex; |
107 #endif |
107 #endif |
108 /* |
108 |
109 Performs a blocking call to gethostbyname or getaddrinfo, stores |
|
110 the results in a QHostInfo structure and emits the |
|
111 resultsReady() signal. |
|
112 */ |
|
113 QHostInfo QHostInfoAgent::fromName(const QString &hostName) |
109 QHostInfo QHostInfoAgent::fromName(const QString &hostName) |
114 { |
110 { |
115 #if defined(Q_OS_WINCE) |
111 #if defined(Q_OS_WINCE) |
116 QMutexLocker locker(&qPrivCEMutex); |
112 QMutexLocker locker(&qPrivCEMutex); |
117 #endif |
113 #endif |