summaryrefslogtreecommitdiffstats
path: root/src/hardware_batteryCollection.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/hardware_batteryCollection.h')
-rw-r--r--src/hardware_batteryCollection.h19
1 files changed, 10 insertions, 9 deletions
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 <qstring.h>
-#include <qstringlist.h>
-#include <qobject.h>
+#include <tqstring.h>
+#include <tqstringlist.h>
+#include <tqobject.h>
// 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<Battery> BatteryList, bool force_level_recheck = false);
+ bool refreshInfo(TQPtrList<Battery> 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;