From 4304e8d9dab8e20513e38e71b0debdf6937b630c Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 16 Apr 2011 23:01:29 +0000 Subject: Finish TQt4 port of kpowersave This enables both Qt3 and Qt4 builds git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kpowersave@1228282 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/hardware_batteryCollection.h | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'src/hardware_batteryCollection.h') diff --git a/src/hardware_batteryCollection.h b/src/hardware_batteryCollection.h index 9b98952..5eaccaf 100644 --- a/src/hardware_batteryCollection.h +++ b/src/hardware_batteryCollection.h @@ -37,24 +37,25 @@ #endif // QT - Header -#include -#include -#include +#include +#include +#include // own Header #include "hardware_battery.h" -class BatteryCollection : public QObject { +class BatteryCollection : public TQObject { Q_OBJECT + TQ_OBJECT private: //! contains the udis of the batteries of this collection - QStringList udis; + TQStringList udis; //! contains the rate unit - QString present_rate_unit; + TQString present_rate_unit; //! Roletype of battery /*! @@ -160,13 +161,13 @@ public: // functions //! refresh the information of the collection from the given batterylist - bool refreshInfo(QPtrList BatteryList, bool force_level_recheck = false); + bool refreshInfo(TQPtrList BatteryList, bool force_level_recheck = false); //! check if this collection already handle a special battery/udi - bool isBatteryHandled(QString udi); + bool isBatteryHandled(TQString udi); // get internals //! get the unit for charge level stuff - QString getChargeLevelUnit() const; + TQString getChargeLevelUnit() const; //! get the cumulative remaining time int getRemainingMinutes() const; -- cgit v1.2.1