summaryrefslogtreecommitdiffstats
path: root/nsplugins/plugin_paths.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
commitc663b6440964f6ac48027143ac9e63298991f9d0 (patch)
tree6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /nsplugins/plugin_paths.cpp
parenta061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff)
downloadtdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz
tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'nsplugins/plugin_paths.cpp')
-rw-r--r--nsplugins/plugin_paths.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/nsplugins/plugin_paths.cpp b/nsplugins/plugin_paths.cpp
index 2c228ac25..8406ecebc 100644
--- a/nsplugins/plugin_paths.cpp
+++ b/nsplugins/plugin_paths.cpp
@@ -28,16 +28,16 @@
#include <kconfig.h>
#include <stdlib.h>
-QStringList getSearchPaths()
+TQStringList getSearchPaths()
{
- QStringList searchPaths;
+ TQStringList searchPaths;
KConfig *config = new KConfig("kcmnspluginrc", false);
config->setGroup("Misc");
// setup default paths
if ( !config->hasKey("scanPaths") ) {
- QStringList paths;
+ TQStringList paths;
// keep sync with kdebase/kcontrol/konqhtml
paths.append("$HOME/.mozilla/plugins");
paths.append("$HOME/.netscape/plugins");
@@ -67,8 +67,8 @@ QStringList getSearchPaths()
delete config;
// append environment variable NPX_PLUGIN_PATH
- QStringList envs = QStringList::split(':', getenv("NPX_PLUGIN_PATH"));
- QStringList::Iterator it;
+ TQStringList envs = TQStringList::split(':', getenv("NPX_PLUGIN_PATH"));
+ TQStringList::Iterator it;
for (it = envs.begin(); it != envs.end(); ++it)
searchPaths.append(*it);