From 02a6c8f36311eb6225066df35adf8d00f9cd942b Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 30 Jun 2011 18:16:06 +0000 Subject: 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 --- src/knemod/interfacestatistics.h | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'src/knemod/interfacestatistics.h') 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 -#include +#include +#include #include "global.h" -class QTimer; +class TQTimer; class Interface; template -class StatisticsPtrList : public QPtrList +class StatisticsPtrList : public TQPtrList { protected: - virtual int compareItems ( QPtrCollection::Item item1, QPtrCollection::Item item2 ) + virtual int compareItems ( TQPtrCollection::Item item1, TQPtrCollection::Item item2 ) { StatisticEntry* entry1 = static_cast( item1 ); StatisticEntry* entry2 = static_cast( item2 ); @@ -74,9 +74,10 @@ protected: * @author Percy Leonhardt */ -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; -- cgit v1.2.3