summaryrefslogtreecommitdiffstats
path: root/plugins/stats/statsplugin.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-28 20:34:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-28 20:34:15 +0000
commit1c1403293485f35fd53db45aaa77a01cdd9627e7 (patch)
tree38559cd68cd4f63023fb5f6375def9db3b8b491e /plugins/stats/statsplugin.h
parent894f94545727610df22c4f73911d62d58266f695 (diff)
downloadktorrent-1c1403293485f35fd53db45aaa77a01cdd9627e7.tar.gz
ktorrent-1c1403293485f35fd53db45aaa77a01cdd9627e7.zip
TQt4 port ktorrent
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ktorrent@1238733 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'plugins/stats/statsplugin.h')
-rw-r--r--plugins/stats/statsplugin.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/plugins/stats/statsplugin.h b/plugins/stats/statsplugin.h
index 14f1fcd..df482a7 100644
--- a/plugins/stats/statsplugin.h
+++ b/plugins/stats/statsplugin.h
@@ -23,8 +23,8 @@
#include <kgenericfactory.h>
-#include <qwidget.h>
-#include <qtimer.h>
+#include <tqwidget.h>
+#include <tqtimer.h>
#include <interfaces/plugin.h>
#include <interfaces/guiinterface.h>
@@ -52,6 +52,7 @@ namespace kt {
class StatsPlugin : public Plugin
{
Q_OBJECT
+ TQ_OBJECT
private:
///Speed UI of the plugin
@@ -104,7 +105,7 @@ class StatsPlugin : public Plugin
std::pair<uint32_t, uint32_t> mRunningSeedAvg;
///Data update timer
- QTimer * pmUpdTmr;
+ TQTimer * pmUpdTmr;
///Update ctr
uint32_t mUpdCtr;
@@ -133,17 +134,17 @@ class StatsPlugin : public Plugin
public:
/**
\brief Constructor
- \param parent Parent
+ \param tqparent Parent
\param qt_name
\param args
*/
- StatsPlugin(QObject* parent, const char* qt_name, const QStringList& args);
+ StatsPlugin(TQObject* tqparent, const char* qt_name, const TQStringList& args);
///Destructor
virtual ~StatsPlugin();
virtual void load();
virtual void unload();
- virtual bool versionCheck(const QString&) const;
+ virtual bool versionCheck(const TQString&) const;
virtual void guiUpdate();
};