summaryrefslogtreecommitdiffstats
path: root/plugins/stats/StatsCon.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/StatsCon.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/StatsCon.h')
-rw-r--r--plugins/stats/StatsCon.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/plugins/stats/StatsCon.h b/plugins/stats/StatsCon.h
index 9d60048..da984f1 100644
--- a/plugins/stats/StatsCon.h
+++ b/plugins/stats/StatsCon.h
@@ -21,10 +21,10 @@
#ifndef STATSCON_H_
#define STATSCON_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 "statsconwgt.h"
@@ -35,11 +35,12 @@ namespace kt {
class StatsCon : public StatsConWgt
{
Q_OBJECT
+ TQ_OBJECT
private:
///Layout of peers connections
- QVBoxLayout * pmPeersConLay;
+ TQVBoxLayout * pmPeersConLay;
///Layout of DHT stats
- QVBoxLayout * pmDHTLay;
+ TQVBoxLayout * pmDHTLay;
///Chart widget of peers connted
ChartDrawer * pmPeersConCht;
@@ -47,7 +48,7 @@ class StatsCon : public StatsConWgt
ChartDrawer * pmDHTCht;
public:
- StatsCon(QWidget * p = 0);
+ StatsCon(TQWidget * p = 0);
virtual ~StatsCon();
/**
\brief Adds value to peers connections chart