From d5aed6eeb8f845f171f83058594be7d8de7628aa Mon Sep 17 00:00:00 2001 From: Szymon Tomasz Stefanek Date: Tue, 6 Jul 2010 21:32:14 +0000 Subject: Constness fixes. Thnks PKEuS :) git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@4621 17fca916-40b9-46aa-a4ea-0a15b648b75c --- src/modules/system/plugin.cpp | 2 +- src/modules/system/plugin.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/system') 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: }; -- cgit v1.3.1-10-gc9f91