diff options
Diffstat (limited to 'klaptopdaemon/main.cpp')
-rw-r--r-- | klaptopdaemon/main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/klaptopdaemon/main.cpp b/klaptopdaemon/main.cpp index 535e391..4bea263 100644 --- a/klaptopdaemon/main.cpp +++ b/klaptopdaemon/main.cpp @@ -26,7 +26,7 @@ #include <kprocess.h> #include <kconfig.h> #include <kglobal.h> -#include <tqlayout.h> +#include <layout.h> #include <unistd.h> #include <fcntl.h> @@ -147,9 +147,9 @@ LaptopModule::LaptopModule(TQWidget *parent, const char *) enablehibernate = config.readBoolEntry("EnableHibernate", false); laptop_portable::software_suspend_set_mask(enablehibernate); } - TQVBoxLayout *tqlayout = new TQVBoxLayout(this); + TQVBoxLayout *layout = new TQVBoxLayout(this); tab = new TQTabWidget(this); - tqlayout->addWidget(tab); + layout->addWidget(tab); battery = new BatteryConfig(parent, "kcmlaptop"); tab->addTab(battery, i18n("&Battery")); |