diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-05 10:35:20 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-05 10:35:20 +0900 |
commit | 94fad98cf23ddd7a5533e30e79bffc5d2f1f843c (patch) | |
tree | 0e9bb34fc7a4dffc25a4e52ccd341c995180c731 /kshutdownlockout | |
parent | 0cb0eeb3f7bbd65f23c5b610b0fe396d329ba839 (diff) | |
download | kshutdown-94fad98cf23ddd7a5533e30e79bffc5d2f1f843c.tar.gz kshutdown-94fad98cf23ddd7a5533e30e79bffc5d2f1f843c.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kshutdownlockout')
-rw-r--r-- | kshutdownlockout/lockout.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kshutdownlockout/lockout.cpp b/kshutdownlockout/lockout.cpp index 419a1ad..c7fc64e 100644 --- a/kshutdownlockout/lockout.cpp +++ b/kshutdownlockout/lockout.cpp @@ -99,7 +99,7 @@ Lockout::Lockout(const TQString& configFile, TQWidget *parent) button->setPopupDelay(100); button->setMinimumSize(button->pixmap()->size()); button->setSizePolicy(TQSizePolicy(TQSizePolicy::MinimumExpanding, TQSizePolicy::MinimumExpanding)); - connect(button, SIGNAL(clicked()), this, SLOT(slotShowKShutDown())); + connect(button, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotShowKShutDown())); button->setPopup(pm_actions); layout->addWidget(button); @@ -111,7 +111,7 @@ Lockout::Lockout(const TQString& configFile, TQWidget *parent) */ if (!kapp->dcopClient()->isAttached()) kapp->dcopClient()->attach(); - connect(kapp, SIGNAL(iconChanged(int)), SLOT(slotIconChanged())); + connect(kapp, TQ_SIGNAL(iconChanged(int)), TQ_SLOT(slotIconChanged())); TQToolTip::add( this, @@ -163,25 +163,25 @@ void Lockout::initActions() { _lockScreenAction = new TDEAction( i18n("Lock Screen"), "system-lock-screen", TDEShortcut(), - this, SLOT(slotLockScreen()), + this, TQ_SLOT(slotLockScreen()), ac_shutDown, "kshutdown_lockscreen" ); _logoutAction = new TDEAction( i18n("End Current Session"), "edit-undo", TDEShortcut(), - this, SLOT(slotLogout()), + this, TQ_SLOT(slotLogout()), ac_shutDown, "kshutdown_logout" ); _rebootAction = new TDEAction( i18n("Restart Computer"), "reload", TDEShortcut(), - this, SLOT(slotReboot()), + this, TQ_SLOT(slotReboot()), ac_shutDown, "kshutdown_reboot" ); _shutDownAction = new TDEAction( i18n("Turn Off Computer"), "system-log-out", TDEShortcut(), - this, SLOT(slotShutDown()), + this, TQ_SLOT(slotShutDown()), ac_shutDown, "kshutdown_shutdown" ); @@ -189,7 +189,7 @@ void Lockout::initActions() { _configureKShutDownAction = new TDEAction( i18n("&Configure KShutDown..."), "configure", TDEShortcut(), - this, SLOT(slotConfigureKShutDown()), + this, TQ_SLOT(slotConfigureKShutDown()), ac_shutDown, "options_configure" ); } |