aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/pythoncore
diff options
context:
space:
mode:
authorGravatar Szymon Tomasz Stefanek2010-12-25 05:28:46 +0000
committerGravatar Szymon Tomasz Stefanek2010-12-25 05:28:46 +0000
commitf2f47c5eaa7d284abad1f693d7c75c85c42565df (patch)
tree2dd141a4ae4911ef3a1abf4d1910d3f7ba071c27 /src/modules/pythoncore
parentMore work on the window popup (diff)
downloadKVIrc-f2f47c5eaa7d284abad1f693d7c75c85c42565df.tar.gz
KVIrc-f2f47c5eaa7d284abad1f693d7c75c85c42565df.tar.bz2
KVIrc-f2f47c5eaa7d284abad1f693d7c75c85c42565df.zip
Beginning of 'the big rename & cleanup'. File names should match class names, when possible. Move classes to one per file. Move C functions to namespaces, if possible. Kill some abbreviations...
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5229 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/pythoncore')
-rw-r--r--src/modules/pythoncore/kvircmodule.cpp2
-rw-r--r--src/modules/pythoncore/libkvipythoncore.cpp6
-rw-r--r--src/modules/pythoncore/pythoncoreinterface.h2
3 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/pythoncore/kvircmodule.cpp b/src/modules/pythoncore/kvircmodule.cpp
index 06e478b75..8aea2c4b5 100644
--- a/src/modules/pythoncore/kvircmodule.cpp
+++ b/src/modules/pythoncore/kvircmodule.cpp
@@ -41,7 +41,7 @@
extern KviKvsRunTimeContext * g_pCurrentKvsContext;
extern bool g_bExecuteQuiet;
-extern KviStr g_szLastReturnValue;
+extern KviCString g_szLastReturnValue;
extern QStringList g_lWarningList;
extern QString g_lError;
diff --git a/src/modules/pythoncore/libkvipythoncore.cpp b/src/modules/pythoncore/libkvipythoncore.cpp
index f14cf454e..825a47260 100644
--- a/src/modules/pythoncore/libkvipythoncore.cpp
+++ b/src/modules/pythoncore/libkvipythoncore.cpp
@@ -25,9 +25,9 @@
#include "kvi_settings.h"
#include "kvi_module.h"
-#include "kvi_locale.h"
+#include "KviLocale.h"
//#include "kvi_modulemanager.h"
-//#include "kvi_fileutils.h"
+//#include "KviFileUtils.h"
//#include "kvi_app.h"
//#include "kvi_options.h"
//#include "kvi_out.h"
@@ -42,7 +42,7 @@ KviKvsRunTimeContext * g_pCurrentKvsContext = 0;
bool g_bExecuteQuiet = false;
QStringList g_lWarningList;
QString g_lError;
-static KviStr g_szLastReturnValue("");
+static KviCString g_szLastReturnValue("");
static PyThreadState * mainThreadState = NULL;
diff --git a/src/modules/pythoncore/pythoncoreinterface.h b/src/modules/pythoncore/pythoncoreinterface.h
index 3463ce28b..bb6d533e9 100644
--- a/src/modules/pythoncore/pythoncoreinterface.h
+++ b/src/modules/pythoncore/pythoncoreinterface.h
@@ -26,7 +26,7 @@
//=============================================================================
#include "kvi_settings.h"
-#include "kvi_qstring.h"
+#include "KviQString.h"
#include "kvi_kvs_runtimecontext.h"
#include <QStringList>