diff options
Diffstat (limited to 'src/kvirc/kernel/kvi_ircconnectiontargetresolver.h')
-rw-r--r-- | src/kvirc/kernel/kvi_ircconnectiontargetresolver.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/kvirc/kernel/kvi_ircconnectiontargetresolver.h b/src/kvirc/kernel/kvi_ircconnectiontargetresolver.h index a37f595d..4d5d72c0 100644 --- a/src/kvirc/kernel/kvi_ircconnectiontargetresolver.h +++ b/src/kvirc/kernel/kvi_ircconnectiontargetresolver.h @@ -44,13 +44,13 @@ protected: KviIrcConnectionTargetResolver(KviIrcConnection * pConnection); ~KviIrcConnectionTargetResolver(); public: - enum Status { Success, Error }; + enum tqStatus { Success, Error }; enum State { Idle, Running, Terminated }; private: KviIrcConnection * m_pConnection; // shallow, never null KviIrcConnectionTarget * m_pTarget; // shallow, never null KviConsole * m_pConsole; // shallow, never null - Status m_eStatus; + tqStatus m_etqStatus; State m_eState; // Auxiliary stuff @@ -66,7 +66,7 @@ private: public: void start(KviIrcConnectionTarget * t); // valid only after the terminated() signal - Status status(){ return m_eStatus; }; + tqStatus status(){ return m_etqStatus; }; int lastError(){ return m_iLastError; }; // causes the resolver to terminate with iLastError == KviError_operationAborted // the terminated() signal is emitted. @@ -81,7 +81,7 @@ private: void lookupServerHostname(); void haveServerIp(); bool validateLocalAddress(const TQString &szAddress,TQString &szBuffer); - void terminate(Status s,int iLastError); + void terminate(tqStatus s,int iLastError); signals: void terminated(); }; |