summaryrefslogtreecommitdiffstats
path: root/plugins/stats/StatsSpd.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/StatsSpd.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/StatsSpd.h')
-rw-r--r--plugins/stats/StatsSpd.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/plugins/stats/StatsSpd.h b/plugins/stats/StatsSpd.h
index 7ba8d43..971209a 100644
--- a/plugins/stats/StatsSpd.h
+++ b/plugins/stats/StatsSpd.h
@@ -21,10 +21,10 @@
#ifndef STATSSPD_H_
#define STATSSPD_H_
-#include <qwidget.h>
-#include <qlayout.h>
-#include <qtabwidget.h>
-#include <qgroupbox.h>
+#include <tqwidget.h>
+#include <tqlayout.h>
+#include <tqtabwidget.h>
+#include <tqgroupbox.h>
#include "statspluginsettings.h"
#include "statsspdwgt.h"
@@ -39,14 +39,15 @@ namespace kt {
class StatsSpd : public StatsSpdWgt
{
Q_OBJECT
+ TQ_OBJECT
private:
///Layout of upload speed
- QVBoxLayout * pmUSpdLay;
+ TQVBoxLayout * pmUSpdLay;
///Layout of down speed
- QVBoxLayout * pmDSpdLay;
+ TQVBoxLayout * pmDSpdLay;
///Layout of peers speed
- QVBoxLayout * pmPeersSpdLay;
+ TQVBoxLayout * pmPeersSpdLay;
///Chart widget of download speed
ChartDrawer * pmDownCht;
@@ -60,7 +61,7 @@ class StatsSpd : public StatsSpdWgt
\brief Constructor
\param p Parent
*/
- StatsSpd(QWidget *p = 0);
+ StatsSpd(TQWidget *p = 0);
///Destructor
virtual ~StatsSpd();