diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-22 00:30:31 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-22 00:30:31 +0000 |
commit | 69cac65817d949cda2672ec4f0aa73d5e66a0ba1 (patch) | |
tree | 073fde0496ea90eb5bf5cffe66a8da43a9f55fbc /kopete/protocols/irc/libkirc/kirctransferserver.h | |
parent | 3467e6464beac3a162839bf7078e22e3a74d73e7 (diff) | |
download | tdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.tar.gz tdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.zip |
TQt4 port kdenetwork
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1237912 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kopete/protocols/irc/libkirc/kirctransferserver.h')
-rw-r--r-- | kopete/protocols/irc/libkirc/kirctransferserver.h | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/kopete/protocols/irc/libkirc/kirctransferserver.h b/kopete/protocols/irc/libkirc/kirctransferserver.h index 80031859..a84000e2 100644 --- a/kopete/protocols/irc/libkirc/kirctransferserver.h +++ b/kopete/protocols/irc/libkirc/kirctransferserver.h @@ -31,17 +31,18 @@ namespace KIRC { class TransferServer - : public QObject + : public TQObject { Q_OBJECT + TQ_OBJECT public: -// TransferServer(TQObject *parent = 0, const char *name = 0); - TransferServer(Q_UINT16 port, int backlog = 1, TQObject *parent = 0, const char *name = 0); +// TransferServer(TQObject *tqparent = 0, const char *name = 0); + TransferServer(TQ_UINT16 port, int backlog = 1, TQObject *tqparent = 0, const char *name = 0); TransferServer(KIRC::Engine *engine, TQString nick,// TQString nick_peer_adress, Transfer::Type type, - TQString fileName, Q_UINT32 fileSize, - TQObject *parent = 0, const char *name = 0); + TQString fileName, TQ_UINT32 fileSize, + TQObject *tqparent = 0, const char *name = 0); ~TransferServer(); @@ -50,7 +51,7 @@ public: protected: bool initServer(); - bool initServer( Q_UINT16 port, int backlog = 1 ); + bool initServer( TQ_UINT16 port, int backlog = 1 ); signals: void incomingNewTransfer(Transfer *transfer); @@ -61,15 +62,15 @@ protected slots: private: KExtendedSocket * m_socket; - Q_UINT16 m_port; + TQ_UINT16 m_port; int m_backlog; // The following will be deprecated ... KIRC::Engine * m_engine; - QString m_nick; + TQString m_nick; Transfer::Type m_type; - QString m_fileName; - Q_UINT32 m_fileSize; + TQString m_fileName; + TQ_UINT32 m_fileSize; // by // TQPtrList<Transfer> m_pendingTransfers; // TQPtrList<Transfer> m_activeTransfers; |