From 01c60a267846a8712bca34218ecf7da57566c049 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 31 Jan 2013 13:26:45 -0600 Subject: Rename KStandard for enhanced compatibility with KDE4 --- tdm/kfrontend/themer/tdmpixmap.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tdm/kfrontend/themer') diff --git a/tdm/kfrontend/themer/tdmpixmap.cpp b/tdm/kfrontend/themer/tdmpixmap.cpp index 56ece936c..35e3dcc40 100644 --- a/tdm/kfrontend/themer/tdmpixmap.cpp +++ b/tdm/kfrontend/themer/tdmpixmap.cpp @@ -72,7 +72,7 @@ KdmPixmap::KdmPixmap( KdmItem *parent, const TQDomNode &node, const char *name ) if ((_compositor.isEmpty()) || (!argb_visual_available)) { // Software blend only (no compositing support) // Use the preset TDM background... - KStandardDirs *m_pDirs = TDEGlobal::dirs(); + TDEStandardDirs *m_pDirs = TDEGlobal::dirs(); KSimpleConfig *config = new KSimpleConfig( TQFile::decodeName( _backgroundCfg ) ); config->setGroup("Desktop0"); pixmap.normal.fullpath = m_pDirs->findResource("wallpaper", config->readPathEntry("Wallpaper")); @@ -179,7 +179,7 @@ KdmPixmap::loadPixmap( PixmapStruct::PixmapClass *pClass ) kdDebug() << timestamp() << " ext " << ext << " " << fullpath << endl; TQString testpath = TQString("-%1x%2").arg(area.width()).arg(area.height()) + ext; kdDebug() << timestamp() << " testing for " << fullpath + testpath << endl; - if (KStandardDirs::exists(fullpath + testpath)) + if (TDEStandardDirs::exists(fullpath + testpath)) pClass->pixmap.load(fullpath + testpath); else pClass->pixmap.load( fullpath + ext ); -- cgit v1.2.1