diff options
author | Michele Calgaro <[email protected]> | 2024-01-12 10:51:50 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-16 10:04:33 +0900 |
commit | 1c65be77cd84b454f3fe69f211849a712ad99ed0 (patch) | |
tree | f9309bc873f0f7838ee21373c32d5fd388da79d9 /krootbacking | |
parent | 55ba7bff2cd71ef2582b43c336afc55325b48a60 (diff) | |
download | tdebase-1c65be77cd84b454f3fe69f211849a712ad99ed0.tar.gz tdebase-1c65be77cd84b454f3fe69f211849a712ad99ed0.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit a4241b7911d2e0b36edfb02f616b8b282050c0ec)
Diffstat (limited to 'krootbacking')
-rw-r--r-- | krootbacking/krootbacking.cpp | 10 | ||||
-rw-r--r-- | krootbacking/main.cpp | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/krootbacking/krootbacking.cpp b/krootbacking/krootbacking.cpp index 9d1ef9e32..73efa6abb 100644 --- a/krootbacking/krootbacking.cpp +++ b/krootbacking/krootbacking.cpp @@ -68,10 +68,10 @@ void KRootBacking::init() m_bInit = false; m_bActive = false; - connect(kapp, TQT_SIGNAL(backgroundChanged(int)), TQT_SLOT(slotBackgroundChanged(int))); - connect(m_pTimer, TQT_SIGNAL(timeout()), TQT_SLOT(repaint())); + connect(kapp, TQ_SIGNAL(backgroundChanged(int)), TQ_SLOT(slotBackgroundChanged(int))); + connect(m_pTimer, TQ_SIGNAL(timeout()), TQ_SLOT(repaint())); #ifdef Q_WS_X11 - connect(m_pPixmap, TQT_SIGNAL(done(bool)), TQT_SLOT(slotDone(bool))); + connect(m_pPixmap, TQ_SIGNAL(done(bool)), TQ_SLOT(slotDone(bool))); d->twin = new KWinModule( this ); #endif @@ -107,7 +107,7 @@ void KRootBacking::start() // We should get a KIPC message when the shared pixmap is available... enableExports(); if (m_timeout < 50) { - TQTimer::singleShot( 100, this, SLOT(show()) ); // ...but it doesn't always work! + TQTimer::singleShot( 100, this, TQ_SLOT(show()) ); // ...but it doesn't always work! m_timeout++; return; } @@ -218,7 +218,7 @@ void KRootBacking::slotDone(bool success) { kdWarning(270) << k_lineinfo << "loading of desktop background failed.\n"; if (m_timeout < 50) { - TQTimer::singleShot( 100, this, SLOT(show()) ); + TQTimer::singleShot( 100, this, TQ_SLOT(show()) ); m_timeout++; return; } diff --git a/krootbacking/main.cpp b/krootbacking/main.cpp index 5691d736d..f29666d02 100644 --- a/krootbacking/main.cpp +++ b/krootbacking/main.cpp @@ -62,7 +62,7 @@ int main(int argc, char **argv) TQObject* mainWin = new KRootBacking(); TQTimer *timer = new TQTimer( mainWin ); - TQObject::connect( timer, SIGNAL(timeout()), mainWin, SLOT(start()) ); + TQObject::connect( timer, TQ_SIGNAL(timeout()), mainWin, TQ_SLOT(start()) ); timer->start( 100, TRUE ); // 100ms single shot timer app.exec(); |