diff options
Diffstat (limited to 'klaptopdaemon/acpi.cpp')
-rw-r--r-- | klaptopdaemon/acpi.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/klaptopdaemon/acpi.cpp b/klaptopdaemon/acpi.cpp index 8bce86b..4191937 100644 --- a/klaptopdaemon/acpi.cpp +++ b/klaptopdaemon/acpi.cpp @@ -36,8 +36,8 @@ #include <kicondialog.h> #include <tdeapplication.h> #include <tdemessagebox.h> -#include <kstandarddirs.h> -#include <kprocess.h> +#include <tdestandarddirs.h> +#include <tdeprocess.h> // other TQt headers: #include <tqlayout.h> @@ -86,27 +86,27 @@ AcpiConfig::AcpiConfig (TQWidget * parent, const char *name) top_layout->addWidget( enableStandby ); TQToolTip::add( enableStandby, i18n( "If checked this box enables transitions to the 'standby' state - a temporary powered down state" ) ); enableStandby->setEnabled(can_enable); - connect( enableStandby, TQT_SIGNAL(clicked()), this, TQT_SLOT(configChanged()) ); + connect( enableStandby, TQ_SIGNAL(clicked()), this, TQ_SLOT(configChanged()) ); enableSuspend = new TQCheckBox( i18n("Enable &suspend"), this ); top_layout->addWidget( enableSuspend ); TQToolTip::add( enableSuspend, i18n( "If checked this box enables transitions to the 'suspend' state - a semi-powered down state, sometimes called 'suspend-to-ram'" ) ); enableSuspend->setEnabled(can_enable); - connect( enableSuspend, TQT_SIGNAL(clicked()), this, TQT_SLOT(configChanged()) ); + connect( enableSuspend, TQ_SIGNAL(clicked()), this, TQ_SLOT(configChanged()) ); TQHBoxLayout *ll = new TQHBoxLayout(); enableHibernate = new TQCheckBox( i18n("Enable &hibernate"), this ); ll->addWidget( enableHibernate ); TQToolTip::add( enableHibernate, i18n( "If checked this box enables transitions to the 'hibernate' state - a powered down state, sometimes called 'suspend-to-disk'" ) ); enableHibernate->setEnabled(can_enable); - connect( enableHibernate, TQT_SIGNAL(clicked()), this, TQT_SLOT(configChanged()) ); + connect( enableHibernate, TQ_SIGNAL(clicked()), this, TQ_SLOT(configChanged()) ); if (laptop_portable::has_software_suspend()) { ll->addStretch(1); enableSoftwareSuspendHibernate = new TQCheckBox( i18n("Use software suspend for hibernate"), this ); ll->addWidget( enableSoftwareSuspendHibernate ); TQToolTip::add( enableSoftwareSuspendHibernate, i18n( "If checked this box enables transitions to the 'hibernate' state - a powered down state, sometimes called 'suspend-to-disk' - the kernel 'Software Suspend' mechanism will be used instead of using ACPI directly" ) ); enableSoftwareSuspendHibernate->setEnabled(laptop_portable::has_software_suspend(2)); - connect( enableSoftwareSuspendHibernate, TQT_SIGNAL(clicked()), this, TQT_SLOT(configChanged()) ); + connect( enableSoftwareSuspendHibernate, TQ_SIGNAL(clicked()), this, TQ_SLOT(configChanged()) ); } else { enableSoftwareSuspendHibernate = 0; } @@ -118,13 +118,13 @@ AcpiConfig::AcpiConfig (TQWidget * parent, const char *name) top_layout->addWidget( enablePerformance ); TQToolTip::add( enablePerformance, i18n( "If checked this box enables access to ACPI performance profiles - usually OK in 2.4 and later" ) ); enablePerformance->setEnabled(can_enable); - connect( enablePerformance, TQT_SIGNAL(clicked()), this, TQT_SLOT(configChanged()) ); + connect( enablePerformance, TQ_SIGNAL(clicked()), this, TQ_SLOT(configChanged()) ); enableThrottle = new TQCheckBox( i18n("Enable &CPU throttling"), this ); top_layout->addWidget( enableThrottle ); TQToolTip::add( enableThrottle, i18n( "If checked this box enables access to ACPI throttle speed changes - usually OK in 2.4 and later" ) ); enableThrottle->setEnabled(can_enable); - connect( enableThrottle, TQT_SIGNAL(clicked()), this, TQT_SLOT(configChanged()) ); + connect( enableThrottle, TQ_SIGNAL(clicked()), this, TQ_SLOT(configChanged()) ); tmp_label = new TQLabel(i18n("If the above boxes are disabled then there is no 'helper' " "application set up to help change ACPI states, there are two " @@ -136,7 +136,7 @@ AcpiConfig::AcpiConfig (TQWidget * parent, const char *name) top_layout->addWidget( tmp_label ); ll = new TQHBoxLayout(); TQPushButton *setupButton = new TQPushButton(i18n("Setup Helper Application"), this); - connect( setupButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(setupHelper()) ); + connect( setupButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(setupHelper()) ); TQToolTip::add( setupButton, i18n( "This button can be used to enable the ACPI helper application" ) ); ll->addStretch(2); ll->addWidget(setupButton); |