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;