forked from qt-creator/qt-creator
QmlDesigner.Plugin: Make getter const
Change-Id: I8c0b36aa467a6135b30e1010d4121e6ca8943eae Reviewed-on: http://codereview.qt.nokia.com/578 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
This commit is contained in:
committed by
Thomas Hartmann
parent
8879c6c6a0
commit
efeefef10a
@@ -41,12 +41,12 @@ DesktopPlugin::DesktopPlugin()
|
||||
{
|
||||
}
|
||||
|
||||
QString DesktopPlugin::pluginName()
|
||||
QString DesktopPlugin::pluginName() const
|
||||
{
|
||||
return ("DesktopPlugin");
|
||||
}
|
||||
|
||||
QString DesktopPlugin::metaInfo()
|
||||
QString DesktopPlugin::metaInfo() const
|
||||
{
|
||||
return QString(":/desktopplugin/desktop.metainfo");
|
||||
}
|
||||
|
||||
@@ -50,8 +50,8 @@ public:
|
||||
DesktopPlugin();
|
||||
~DesktopPlugin() {}
|
||||
|
||||
QString metaInfo();
|
||||
QString pluginName();
|
||||
QString metaInfo() const;
|
||||
QString pluginName() const;
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user