summaryrefslogtreecommitdiffstats
path: root/klaptopdaemon/battery.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'klaptopdaemon/battery.cpp')
-rw-r--r--klaptopdaemon/battery.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/klaptopdaemon/battery.cpp b/klaptopdaemon/battery.cpp
index e4ba202..4523b4c 100644
--- a/klaptopdaemon/battery.cpp
+++ b/klaptopdaemon/battery.cpp
@@ -52,7 +52,7 @@ extern void wake_laptop_daemon();
BatteryConfig::BatteryConfig (TQWidget * parent, const char *name)
- : KCModule(parent, name),
+ : TDECModule(parent, name),
editPoll(0),
iconloader(0),
buttonNoBattery(0),
@@ -62,7 +62,7 @@ BatteryConfig::BatteryConfig (TQWidget * parent, const char *name)
TDEGlobal::locale()->insertCatalogue("klaptopdaemon"); // For translation of klaptopdaemon messages
apm = laptop_portable::has_power_management();
- config = new KConfig("kcmlaptoprc");
+ config = new TDEConfig("kcmlaptoprc");
instance = new TDEInstance("klaptopdaemon");
TQVBoxLayout *top_layout = new TQVBoxLayout( this, KDialog::marginHint(),