summaryrefslogtreecommitdiffstats
path: root/src/knemod/interfacestatistics.h
diff options
context:
space:
mode:
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 <[email protected]>
*/
-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;