diff options
Diffstat (limited to 'lib/kross/main/scriptguiclient.cpp')
-rw-r--r-- | lib/kross/main/scriptguiclient.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/kross/main/scriptguiclient.cpp b/lib/kross/main/scriptguiclient.cpp index 88877f5a..05e4f9aa 100644 --- a/lib/kross/main/scriptguiclient.cpp +++ b/lib/kross/main/scriptguiclient.cpp @@ -139,7 +139,7 @@ void ScriptGUIClient::reloadInstalledScripts() installedcollection->clear(); TQCString partname = d->guiclient->instance()->instanceName(); - TQStringList files = KGlobal::dirs()->findAllResources("data", partname + "/scripts/*/*.rc"); + TQStringList files = TDEGlobal::dirs()->findAllResources("data", partname + "/scripts/*/*.rc"); //files.sort(); for(TQStringList::iterator it = files.begin(); it != files.end(); ++it) loadScriptConfigFile(*it); @@ -155,8 +155,8 @@ bool ScriptGUIClient::installScriptPackage(const TQString& scriptpackagefile) } TQCString partname = d->guiclient->instance()->instanceName(); - TQString destination = KGlobal::dirs()->saveLocation("data", partname + "/scripts/", true); - //TQString destination = KGlobal::dirs()->saveLocation("appdata", "scripts", true); + TQString destination = TDEGlobal::dirs()->saveLocation("data", partname + "/scripts/", true); + //TQString destination = TDEGlobal::dirs()->saveLocation("appdata", "scripts", true); if(destination.isNull()) { krosswarning("ScriptGUIClient::installScriptPackage() Failed to determinate location where the scriptpackage should be installed to!"); return false; |