summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:20:23 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:20:23 -0600
commit8fd39570ed2addfc75abc73e3616ce12a3f9d8ee (patch)
treea98815202be5c6af1229f9acb15faf07b97d1d2c /src
parent2558aafa950f5abd15806fc34e8009899ca47a42 (diff)
downloadtdmtheme-8fd39570ed2addfc75abc73e3616ce12a3f9d8ee.tar.gz
tdmtheme-8fd39570ed2addfc75abc73e3616ce12a3f9d8ee.zip
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'src')
-rw-r--r--src/tdmtheme.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tdmtheme.cpp b/src/tdmtheme.cpp
index a4da499..a99bb0c 100644
--- a/src/tdmtheme.cpp
+++ b/src/tdmtheme.cpp
@@ -111,8 +111,8 @@ TDMThemeWidget::TDMThemeWidget( TQWidget *parent, const char *name, const TQStri
connect( bRemoveTheme, TQT_SIGNAL(clicked()), TQT_SLOT(removeSelectedThemes()) );
connect( cUseTheme, TQT_SIGNAL( toggled( bool ) ), TQT_SLOT( toggleUseTheme( bool ) ) );
- TQStringList themeDirs = KGlobal::dirs()->findDirs("data","tdm/");
- themeDir = KGlobal::dirs()->findDirs("data","tdm/").last();
+ TQStringList themeDirs = TDEGlobal::dirs()->findDirs("data","tdm/");
+ themeDir = TDEGlobal::dirs()->findDirs("data","tdm/").last();
TQDir d;
for ( TQStringList::Iterator dirs = themeDirs.begin(); dirs != themeDirs.end(); ++dirs ) {
kdDebug() << "Loading themes... ( " + *dirs + "themes/" + " )" << endl;
@@ -147,7 +147,7 @@ void TDMThemeWidget::selectTheme( const TQString &path )
void TDMThemeWidget::load()
{
- TQString tdmrc = KGlobal::dirs()->findResource("config", "tdm/tdmrc");
+ TQString tdmrc = TDEGlobal::dirs()->findResource("config", "tdm/tdmrc");
if ( tdmrc.isEmpty() ) {
kdError() << "Failed to find tdm resource file tdmrc!" << endl;