diff options
| author | 2008-04-13 17:47:27 +0000 | |
|---|---|---|
| committer | 2008-04-13 17:47:27 +0000 | |
| commit | a1a2f81e9e131adc82330d0e20f02e00e3e12a25 (patch) | |
| tree | 3af827abfd7194365637d5a3277a118913d8e3d8 /src/modules/system/plugin.cpp | |
| parent | quick fix (diff) | |
| download | KVIrc-a1a2f81e9e131adc82330d0e20f02e00e3e12a25.tar.gz KVIrc-a1a2f81e9e131adc82330d0e20f02e00e3e12a25.tar.bz2 KVIrc-a1a2f81e9e131adc82330d0e20f02e00e3e12a25.zip | |
removed QT3 QString stuff (wip). Need test.
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@1476 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/system/plugin.cpp')
| -rw-r--r-- | src/modules/system/plugin.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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; |
