From a1a2f81e9e131adc82330d0e20f02e00e3e12a25 Mon Sep 17 00:00:00 2001 From: Noldor Date: Sun, 13 Apr 2008 17:47:27 +0000 Subject: removed QT3 QString stuff (wip). Need test. git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@1476 17fca916-40b9-46aa-a4ea-0a15b648b75c --- src/modules/system/plugin.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/modules/system/plugin.cpp') diff --git a/src/modules/system/plugin.cpp b/src/modules/system/plugin.cpp index 0b47e5872..b214c4aab 100644 --- a/src/modules/system/plugin.cpp +++ b/src/modules/system/plugin.cpp @@ -115,7 +115,7 @@ KviPlugin::~KviPlugin() KviPlugin* KviPlugin::load(const QString& szFileName) { - kvi_library_t pLibrary = kvi_library_open(szFileName.local8Bit()); + kvi_library_t pLibrary = kvi_library_open(szFileName.toLocal8Bit()); if (!pLibrary) { return 0; @@ -187,7 +187,7 @@ int KviPlugin::call(const QString& pszFunctionName, int argc, char * argv[], cha { int r; plugin_function function_call; - function_call = (plugin_function)kvi_library_symbol(m_Plugin,pszFunctionName.local8Bit()); + function_call = (plugin_function)kvi_library_symbol(m_Plugin,pszFunctionName.toLocal8Bit()); if (!function_call) { return -1; @@ -283,7 +283,7 @@ bool KviPluginManager::pluginCall(KviKvsModuleFunctionCall *c) { ppArgv[i-2] = x; c->params()->at(i)->asString(tmp); - strcpy(x,tmp.local8Bit()); + strcpy(x,tmp.toLocal8Bit()); x += tmp.length(); *x = 0; -- cgit v1.3.1-10-gc9f91