diff options
author | Thomas Hartmann <Thomas.Hartmann@nokia.com> | 2011-06-14 11:06:59 +0200 |
---|---|---|
committer | Thomas Hartmann <Thomas.Hartmann@nokia.com> | 2011-06-14 11:08:44 +0200 |
commit | 971310dae32a892905a84e4592329d4d063b6811 (patch) | |
tree | 4a8e0ba3cf75e18f128941bd3ea5213962364c1a /src/plugins/qmldesigner/meegoplugin | |
parent | 76448eec06dd35ed36a3bb5113017bdf56811633 (diff) | |
download | qt-creator-971310dae32a892905a84e4592329d4d063b6811.tar.gz |
QmlDesigner.plugins: getters should be const
metaInfo() and pluginName are now const.
Change-Id: I41ad0ad11d19268e18e839adcdbd8fb6bfba629d
Reviewed-on: http://codereview.qt.nokia.com/470
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
Diffstat (limited to 'src/plugins/qmldesigner/meegoplugin')
-rw-r--r-- | src/plugins/qmldesigner/meegoplugin/meegoplugin.cpp | 4 | ||||
-rw-r--r-- | src/plugins/qmldesigner/meegoplugin/meegoplugin.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/qmldesigner/meegoplugin/meegoplugin.cpp b/src/plugins/qmldesigner/meegoplugin/meegoplugin.cpp index 123ce7ba77..5878975239 100644 --- a/src/plugins/qmldesigner/meegoplugin/meegoplugin.cpp +++ b/src/plugins/qmldesigner/meegoplugin/meegoplugin.cpp @@ -41,12 +41,12 @@ MeegoPlugin::MeegoPlugin() { } -QString MeegoPlugin::pluginName() +QString MeegoPlugin::pluginName() const { return ("MeegoPlugin"); } -QString MeegoPlugin::metaInfo() +QString MeegoPlugin::metaInfo() const { return QString(":/meegoplugin/meego.metainfo"); } diff --git a/src/plugins/qmldesigner/meegoplugin/meegoplugin.h b/src/plugins/qmldesigner/meegoplugin/meegoplugin.h index 9058f4935d..11ea724625 100644 --- a/src/plugins/qmldesigner/meegoplugin/meegoplugin.h +++ b/src/plugins/qmldesigner/meegoplugin/meegoplugin.h @@ -50,8 +50,8 @@ public: MeegoPlugin(); ~MeegoPlugin() {} - QString metaInfo(); - QString pluginName(); + QString metaInfo() const; + QString pluginName() const; }; |