diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-28 18:31:12 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-28 18:31:12 +0000 |
commit | 0a80cfd57d271dd44221467efb426675fa470356 (patch) | |
tree | 6f503a31aa078eaf8fa015cf1749808529d49fc9 /src/modules/dcc/thread.h | |
parent | 3329e5a804e28ef3f5eb51d1e7affdd5a508e8f2 (diff) | |
download | kvirc-0a80cfd57d271dd44221467efb426675fa470356.tar.gz kvirc-0a80cfd57d271dd44221467efb426675fa470356.zip |
TQt4 port kvirc
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kvirc@1238719 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/modules/dcc/thread.h')
-rw-r--r-- | src/modules/dcc/thread.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/dcc/thread.h b/src/modules/dcc/thread.h index 3d56661d..b91e2a20 100644 --- a/src/modules/dcc/thread.h +++ b/src/modules/dcc/thread.h @@ -28,7 +28,7 @@ #include "kvi_pointerlist.h" -#include <qobject.h> +#include <tqobject.h> #ifdef COMPILE_SSL_SUPPORT #include "kvi_ssl.h" @@ -54,19 +54,19 @@ typedef struct _KviDccThreadIncomingData class KviDccThread : public KviSensitiveThread { public: - KviDccThread(QObject * par,kvi_socket_t fd); + KviDccThread(TQObject * par,kvi_socket_t fd); ~KviDccThread(); protected: KviMutex * m_pMutex; // OWNED! PROTECTS m_pOutBuffers kvi_socket_t m_fd; - QObject * m_pParent; // READ ONLY! + TQObject * m_pParent; // READ ONLY! #ifdef COMPILE_SSL_SUPPORT KviSSL * m_pSSL; #endif protected: bool handleInvalidSocketRead(int readLen); public: - QObject * parent(){ return m_pParent; }; + TQObject * tqparent(){ return m_pParent; }; void postErrorEvent(int err); // Warning!..newer call __tr() here!...use __tr_no_lookup() void postMessageEvent(const char * message); |