From 28edc0aa2ab09297288186f5bc15765eb7be58c0 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 24 Jan 2013 13:47:22 -0600 Subject: Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4 --- kutils/kpluginselector.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kutils/kpluginselector.cpp') diff --git a/kutils/kpluginselector.cpp b/kutils/kpluginselector.cpp index 3b6b4c39a..9dbf42c4a 100644 --- a/kutils/kpluginselector.cpp +++ b/kutils/kpluginselector.cpp @@ -575,7 +575,7 @@ static TQValueList kpartsPluginInfos( const TQString& instanceName if( instanceName.isNull() ) return TQValueList(); //nothing - const TQStringList desktopfilenames = KGlobal::dirs()->findAllResources( "data", + const TQStringList desktopfilenames = TDEGlobal::dirs()->findAllResources( "data", instanceName + "/kpartplugins/*.desktop", true, false ); return KPluginInfo::fromFiles( desktopfilenames ); } @@ -631,7 +631,7 @@ void KPluginSelector::addPlugins( const TQValueList & plugininfos, { checkNeedForTabWidget(); // the KConfigGroup becomes owned by KPluginSelectionWidget - KConfigGroup * cfgGroup = new KConfigGroup( config ? config : KGlobal::config(), "Plugins" ); + KConfigGroup * cfgGroup = new KConfigGroup( config ? config : TDEGlobal::config(), "Plugins" ); kdDebug( 702 ) << k_funcinfo << "cfgGroup = " << cfgGroup << endl; addPluginsInternal( plugininfos, catname, category, cfgGroup ); } -- cgit v1.2.1