diff options
Diffstat (limited to 'tdm/kfrontend/themer/tdmpixmap.cpp')
-rw-r--r-- | tdm/kfrontend/themer/tdmpixmap.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tdm/kfrontend/themer/tdmpixmap.cpp b/tdm/kfrontend/themer/tdmpixmap.cpp index 079135c1d..685d1b2c8 100644 --- a/tdm/kfrontend/themer/tdmpixmap.cpp +++ b/tdm/kfrontend/themer/tdmpixmap.cpp @@ -30,7 +30,7 @@ #endif #include <kdebug.h> -#include <kstandarddirs.h> +#include <tdestandarddirs.h> #include <tqfile.h> #include <tqpainter.h> @@ -73,7 +73,7 @@ KdmPixmap::KdmPixmap( KdmItem *parent, const TQDomNode &node, const char *name ) // Software blend only (no compositing support) // Use the preset TDM background... TDEStandardDirs *m_pDirs = TDEGlobal::dirs(); - KSimpleConfig *config = new KSimpleConfig( TQFile::decodeName( _backgroundCfg ) ); + TDESimpleConfig *config = new TDESimpleConfig( TQFile::decodeName( _backgroundCfg ) ); config->setGroup("Desktop0"); pixmap.normal.fullpath = m_pDirs->findResource("wallpaper", config->readPathEntry("Wallpaper")); // TODO: Detect when there is no wallpaper and use the background settings instead @@ -303,9 +303,9 @@ KdmPixmap::drawContents( TQPainter *p, const TQRect &r ) float tint_alpha = pClass->alpha; for (int y = 0; y < h; ++y) { - QRgb *ls = (QRgb *)scaledImage.scanLine( y ); + TQRgb *ls = (TQRgb *)scaledImage.scanLine( y ); for (int x = 0; x < w; ++x) { - QRgb l = ls[x]; + TQRgb l = ls[x]; int r = int( tqRed( l ) * tint_red ); int g = int( tqGreen( l ) * tint_green ); int b = int( tqBlue( l ) * tint_blue ); |