diff options
author | Michele Calgaro <[email protected]> | 2023-12-22 18:45:07 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-12-26 21:27:31 +0900 |
commit | 0e5ef873f0394ebc87c08d030130cf4089cb1d42 (patch) | |
tree | 39b0a54ef4dfc173c556d6e6c7ece5107aed464a /kdesktop/lock | |
parent | dcda00127ea03e99ca6253422624e2d3c2e62f3a (diff) | |
download | tdebase-0e5ef873f0394ebc87c08d030130cf4089cb1d42.tar.gz tdebase-0e5ef873f0394ebc87c08d030130cf4089cb1d42.zip |
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit c4a6487c827add9382001ff1892b8fb3bfa94682)
Diffstat (limited to 'kdesktop/lock')
-rw-r--r-- | kdesktop/lock/autologout.cpp | 2 | ||||
-rw-r--r-- | kdesktop/lock/lockprocess.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/kdesktop/lock/autologout.cpp b/kdesktop/lock/autologout.cpp index 1b63160f6..19c6d1e28 100644 --- a/kdesktop/lock/autologout.cpp +++ b/kdesktop/lock/autologout.cpp @@ -119,7 +119,7 @@ void AutoLogout::slotActivity() void AutoLogout::logout() { - TQT_TQOBJECT(this)->killTimers(); + this->killTimers(); DCOPRef("ksmserver","ksmserver").send("logout", 0, 0, 0); } diff --git a/kdesktop/lock/lockprocess.cpp b/kdesktop/lock/lockprocess.cpp index d9fae24f1..f493649f1 100644 --- a/kdesktop/lock/lockprocess.cpp +++ b/kdesktop/lock/lockprocess.cpp @@ -533,7 +533,7 @@ void LockProcess::setupSignals() if (pipe(signal_pipe) == -1) { // Error handler to shut up gcc warnings } - TQSocketNotifier* notif = new TQSocketNotifier(signal_pipe[0], TQSocketNotifier::Read, TQT_TQOBJECT(this) ); + TQSocketNotifier* notif = new TQSocketNotifier(signal_pipe[0], TQSocketNotifier::Read, this ); connect( notif, TQT_SIGNAL(activated(int)), TQT_SLOT(signalPipeSignal())); } @@ -1353,7 +1353,7 @@ bool LockProcess::startSaver(bool notify_ready) saveVRoot(); if (mParent) { - TQSocketNotifier *notifier = new TQSocketNotifier(mParent, TQSocketNotifier::Read, TQT_TQOBJECT(this), "notifier"); + TQSocketNotifier *notifier = new TQSocketNotifier(mParent, TQSocketNotifier::Read, this, "notifier"); connect(notifier, TQT_SIGNAL( activated (int)), TQT_SLOT( quitSaver())); } createSaverWindow(); |