diff options
Diffstat (limited to 'src/sources/batterysrc.h')
-rw-r--r-- | src/sources/batterysrc.h | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/src/sources/batterysrc.h b/src/sources/batterysrc.h index ac64f2d..62c6828 100644 --- a/src/sources/batterysrc.h +++ b/src/sources/batterysrc.h @@ -25,7 +25,8 @@ #include <tqfile.h> #include <tqstring.h> #include <list> -#include <hal/libhal.h> + +#include <tdehardwaredevices.h> /** * BatterySrc fetches the state of charge of the battery from HAL @@ -40,7 +41,7 @@ public: */ BatterySrc(TQWidget* inParent, TQString inUDI); virtual ~BatterySrc(); - + /** * Creates instances of that Source (and returns pointers to them) */ @@ -60,18 +61,12 @@ private: /** * The hal udi of that battery source - */ + */ TQString mUDI; /** - * The local hal context - */ - LibHalContext* mLibHalContext; - - /** - * The local dbus error object - */ - DBusError mDBusError; - + * The internal hardware library object + */ + TDEHardwareDevices* mHardwareDevices; }; #endif //BATTERYSRC_H |