summaryrefslogtreecommitdiffstats
path: root/src/modules/dcc/broker.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-28 18:31:12 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-28 18:31:12 +0000
commit0a80cfd57d271dd44221467efb426675fa470356 (patch)
tree6f503a31aa078eaf8fa015cf1749808529d49fc9 /src/modules/dcc/broker.h
parent3329e5a804e28ef3f5eb51d1e7affdd5a508e8f2 (diff)
downloadkvirc-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/broker.h')
-rw-r--r--src/modules/dcc/broker.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/modules/dcc/broker.h b/src/modules/dcc/broker.h
index 80fa9768..837699e5 100644
--- a/src/modules/dcc/broker.h
+++ b/src/modules/dcc/broker.h
@@ -37,8 +37,8 @@
#include "kvi_sparser.h"
#include "kvi_pointerhashtable.h"
-#include <qdatetime.h>
-#include <qobject.h>
+#include <tqdatetime.h>
+#include <tqobject.h>
class KviConsole;
class KviDccBroker;
@@ -50,26 +50,27 @@ class KviDccBox;
class KviDccZeroPortTag
{
public:
- QDateTime m_tTimestamp;
- QString m_szTag;
+ TQDateTime m_tTimestamp;
+ TQString m_szTag;
unsigned int m_uFileSize; // outgoing file size, valid only for file transfers obviously
unsigned int m_uResumePosition; // if 0 = no resume, valid only for file transfers obviously
};
-class KviDccBroker : public QObject
+class KviDccBroker : public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
KviDccBroker();
~KviDccBroker();
protected:
KviPointerList<KviDccBox> * m_pBoxList;
KviPointerList<KviWindow> * m_pDccWindowList;
- KviPointerHashTable<QString,KviDccZeroPortTag> * m_pZeroPortTags;
+ KviPointerHashTable<TQString,KviDccZeroPortTag> * m_pZeroPortTags;
public:
KviDccZeroPortTag * addZeroPortTag();
- KviDccZeroPortTag * findZeroPortTag(const QString &szTag);
- void removeZeroPortTag(const QString &szTag);
+ KviDccZeroPortTag * findZeroPortTag(const TQString &szTag);
+ void removeZeroPortTag(const TQString &szTag);
unsigned int dccWindowsCount(){ return m_pDccWindowList->count(); };
unsigned int dccBoxCount();