diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-28 20:34:15 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-28 20:34:15 +0000 |
commit | 1c1403293485f35fd53db45aaa77a01cdd9627e7 (patch) | |
tree | 38559cd68cd4f63023fb5f6375def9db3b8b491e /plugins/stats/StatsCon.h | |
parent | 894f94545727610df22c4f73911d62d58266f695 (diff) | |
download | ktorrent-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.h | 15 |
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 |