Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4

pull/1/head
Timothy Pearson 12 years ago
parent 2558aafa95
commit 8fd39570ed

@ -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;

Loading…
Cancel
Save