summaryrefslogtreecommitdiffstats
path: root/src/knemod/interfacestatistics.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-30 18:16:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-30 18:16:06 +0000
commit02a6c8f36311eb6225066df35adf8d00f9cd942b (patch)
treeceb91c373877f7a69209e184c81b53dc6f9402d7 /src/knemod/interfacestatistics.h
parent09e6e27fe85b2efb28072f1c81f6581fa6837d92 (diff)
downloadknemo-02a6c8f36311eb6225066df35adf8d00f9cd942b.tar.gz
knemo-02a6c8f36311eb6225066df35adf8d00f9cd942b.zip
TQt4 port knemo
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/knemo@1238869 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/knemod/interfacestatistics.h')
-rw-r--r--src/knemod/interfacestatistics.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/knemod/interfacestatistics.h b/src/knemod/interfacestatistics.h
index a4e3246..a7da433 100644
--- a/src/knemod/interfacestatistics.h
+++ b/src/knemod/interfacestatistics.h
@@ -20,19 +20,19 @@
#ifndef INTERFACESTATISTICS_H
#define INTERFACESTATISTICS_H
-#include <qobject.h>
-#include <qptrlist.h>
+#include <tqobject.h>
+#include <tqptrlist.h>
#include "global.h"
-class QTimer;
+class TQTimer;
class Interface;
template<class type>
-class StatisticsPtrList : public QPtrList<type>
+class StatisticsPtrList : public TQPtrList<type>
{
protected:
- virtual int compareItems ( QPtrCollection::Item item1, QPtrCollection::Item item2 )
+ virtual int compareItems ( TQPtrCollection::Item item1, TQPtrCollection::Item item2 )
{
StatisticEntry* entry1 = static_cast<StatisticEntry*>( item1 );
StatisticEntry* entry2 = static_cast<StatisticEntry*>( item2 );
@@ -74,9 +74,10 @@ protected:
* @author Percy Leonhardt <percy@eris23.de>
*/
-class InterfaceStatistics : public QObject
+class InterfaceStatistics : public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
/**
* Default Constructor
@@ -178,7 +179,7 @@ private:
*/
void updateCurrentYear();
- QTimer* mSaveTimer;
+ TQTimer* mSaveTimer;
Interface* mInterface;
StatisticEntry* mCurrentDay;
StatisticEntry* mCurrentMonth;