summaryrefslogtreecommitdiffstats
path: root/plugins/scheduler/schedulerplugin.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/scheduler/schedulerplugin.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/scheduler/schedulerplugin.h')
-rw-r--r--plugins/scheduler/schedulerplugin.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/plugins/scheduler/schedulerplugin.h b/plugins/scheduler/schedulerplugin.h
index 6828d0d..96dad21 100644
--- a/plugins/scheduler/schedulerplugin.h
+++ b/plugins/scheduler/schedulerplugin.h
@@ -24,11 +24,11 @@
#include "schedulerprefpage.h"
-#include <qtimer.h>
+#include <tqtimer.h>
#include <kstdaction.h>
-class QString;
+class TQString;
namespace kt
@@ -43,13 +43,14 @@ namespace kt
class SchedulerPlugin : public Plugin
{
Q_OBJECT
+ TQ_OBJECT
public:
- SchedulerPlugin(QObject* parent, const char* name, const QStringList& args);
+ SchedulerPlugin(TQObject* tqparent, const char* name, const TQStringList& args);
virtual ~SchedulerPlugin();
virtual void load();
virtual void unload();
- virtual bool versionCheck(const QString& version) const;
+ virtual bool versionCheck(const TQString& version) const;
void updateEnabledBWS();
@@ -58,7 +59,7 @@ namespace kt
void openBWS();
private:
- QTimer m_timer;
+ TQTimer m_timer;
/* BANDWIDTH SCHEDULE PLUGIN */
SchedulerPrefPage* Pref;