summaryrefslogtreecommitdiffstats
path: root/klaptopdaemon/apm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'klaptopdaemon/apm.cpp')
-rw-r--r--klaptopdaemon/apm.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/klaptopdaemon/apm.cpp b/klaptopdaemon/apm.cpp
index e2940d2..e02c2f1 100644
--- a/klaptopdaemon/apm.cpp
+++ b/klaptopdaemon/apm.cpp
@@ -84,13 +84,13 @@ ApmConfig::ApmConfig (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()) );
apm_name = "/usr/bin/apm";
if (::access(apm_name, F_OK) != 0 && ::access("/usr/sbin/apm", F_OK) == 0)
apm_name = "/usr/sbin/apm";
@@ -105,7 +105,7 @@ ApmConfig::ApmConfig (TQWidget * parent, const char *name)
top_layout->addWidget( tmp_label );
TQHBoxLayout *ll = new TQHBoxLayout(top_layout);
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 APM helper application" ) );
ll->addStretch(2);
ll->addWidget(setupButton);
@@ -120,7 +120,7 @@ ApmConfig::ApmConfig (TQWidget * parent, const char *name)
top_layout->addWidget( enableSoftwareSuspendHibernate );
TQToolTip::add( enableSoftwareSuspendHibernate, i18n( "If checked this box enables transitions to the 'hibernate' state using the 'Software Suspend' mechanism" ) );
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()) );
tmp_label = new TQLabel( i18n("If the above box is disabled then you need to be logged in "
"as root or need a helper application to invoke the Software "
"Suspend utility - TDE provides a utility to do this, if you "
@@ -130,7 +130,7 @@ ApmConfig::ApmConfig (TQWidget * parent, const char *name)
top_layout->addWidget( tmp_label );
ll = new TQHBoxLayout(this);
TQPushButton *setupSSButton = new TQPushButton(i18n("Setup SS Helper Application"), this);
- connect( setupSSButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(setupHelper2()) );
+ connect( setupSSButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(setupHelper2()) );
TQToolTip::add( setupSSButton, i18n( "This button can be used to enable the Software Suspend helper application" ) );
ll->addStretch(2);
ll->addWidget(setupSSButton);