summaryrefslogtreecommitdiffstats
path: root/krootbacking
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-12 10:51:50 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-16 10:03:43 +0900
commita4241b7911d2e0b36edfb02f616b8b282050c0ec (patch)
tree316c9a3298857645d5da57b682fce707c8e2a907 /krootbacking
parentf9d06cee3d2b4ffe415b1d52c9ad5575643a9e34 (diff)
downloadtdebase-a4241b7911d2e0b36edfb02f616b8b282050c0ec.tar.gz
tdebase-a4241b7911d2e0b36edfb02f616b8b282050c0ec.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'krootbacking')
-rw-r--r--krootbacking/krootbacking.cpp10
-rw-r--r--krootbacking/main.cpp2
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();