aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/system
diff options
context:
space:
mode:
authorGravatar Szymon Tomasz Stefanek2010-07-06 21:32:14 +0000
committerGravatar Szymon Tomasz Stefanek2010-07-06 21:32:14 +0000
commitd5aed6eeb8f845f171f83058594be7d8de7628aa (patch)
tree3ae6af27fff5c455a3f10189ba69bc57d9b70902 /src/modules/system
parentFix mismatched delete/delete[]. Thnx PKEuS :) (diff)
downloadKVIrc-d5aed6eeb8f845f171f83058594be7d8de7628aa.tar.gz
KVIrc-d5aed6eeb8f845f171f83058594be7d8de7628aa.tar.bz2
KVIrc-d5aed6eeb8f845f171f83058594be7d8de7628aa.zip
Constness fixes. Thnks PKEuS :)
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@4621 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/system')
-rw-r--r--src/modules/system/plugin.cpp2
-rw-r--r--src/modules/system/plugin.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/system/plugin.cpp b/src/modules/system/plugin.cpp
index c96f8fe10..15f331396 100644
--- a/src/modules/system/plugin.cpp
+++ b/src/modules/system/plugin.cpp
@@ -194,7 +194,7 @@ int KviPlugin::call(const QString& pszFunctionName, int argc, char * argv[], cha
return r;
}
-QString KviPlugin::name()
+QString KviPlugin::name() const
{
return m_szName;
}
diff --git a/src/modules/system/plugin.h b/src/modules/system/plugin.h
index 43229ab76..0ff3c9baa 100644
--- a/src/modules/system/plugin.h
+++ b/src/modules/system/plugin.h
@@ -53,7 +53,7 @@ public:
bool unload();
bool canunload();
int call(const QString& szFunctionName, int argc, char * argv[], char ** pBuffer);
- QString name();
+ QString name() const;
void setName(const QString& szName);
protected:
};