summaryrefslogtreecommitdiffstats
path: root/tdm/kfrontend/krootimage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdm/kfrontend/krootimage.cpp')
-rw-r--r--tdm/kfrontend/krootimage.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tdm/kfrontend/krootimage.cpp b/tdm/kfrontend/krootimage.cpp
index 7145eb18a..a52adabb2 100644
--- a/tdm/kfrontend/krootimage.cpp
+++ b/tdm/kfrontend/krootimage.cpp
@@ -51,8 +51,8 @@ MyApplication::MyApplication( const char *conf )
: TDEApplication(),
renderer( 0, new KSimpleConfig( TQFile::decodeName( conf ) ) )
{
- connect( &timer, TQT_SIGNAL(timeout()), TQT_SLOT(slotTimeout()) );
- connect( &renderer, TQT_SIGNAL(imageDone( int )), this, TQT_SLOT(renderDone()) );
+ connect( &timer, TQ_SIGNAL(timeout()), TQ_SLOT(slotTimeout()) );
+ connect( &renderer, TQ_SIGNAL(imageDone( int )), this, TQ_SLOT(renderDone()) );
renderer.enableTiling( true ); // optimize
renderer.changeWallpaper(); // cannot do it when we're killed, so do it now
timer.start( 60000 );
@@ -72,8 +72,8 @@ MyApplication::renderDone()
TQPixmap pm = renderer.pixmap();
// ...set it to the desktop widget...
- TQT_TQWIDGET(desktop())->setBackgroundPixmap( pm );
- TQT_TQWIDGET(desktop())->repaint( true );
+ desktop()->setBackgroundPixmap( pm );
+ desktop()->repaint( true );
// ...and export it via Esetroot-style so that composition managers can use it!
Pixmap bgPm = pm.handle(); // fetch the actual X handle to it