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.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/tdm/kfrontend/krootimage.cpp b/tdm/kfrontend/krootimage.cpp
index 7145eb18a..93f8521e1 100644
--- a/tdm/kfrontend/krootimage.cpp
+++ b/tdm/kfrontend/krootimage.cpp
@@ -22,7 +22,7 @@ Boston, MA 02110-1301, USA.
#include <config.h>
#include <tdecmdlineargs.h>
-#include <ksimpleconfig.h>
+#include <tdesimpleconfig.h>
#include <tdelocale.h>
#include <tqfile.h>
@@ -49,10 +49,10 @@ static bool properties_inited = false;
MyApplication::MyApplication( const char *conf )
: TDEApplication(),
- renderer( 0, new KSimpleConfig( TQFile::decodeName( conf ) ) )
+ renderer( 0, new TDESimpleConfig( 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