src/network/kernel/qhostinfo_win.cpp
changeset 3 41300fa6a67c
parent 0 1918ee327afb
child 4 3b1da2848fc7
equal deleted inserted replaced
2:56cd8111b7f7 3:41300fa6a67c
   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