diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2012-07-14 12:30:24 +0200 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2012-07-14 16:07:39 +0200 |
commit | d24b51826109f73a23386b69879de66967a600db (patch) | |
tree | 082bba80b970ac60b3b1ff2ec0ad5745410c9e4f /framework | |
parent | feca4833447be51e97bcd8f1672e5256bf8c27b2 (diff) |
Revert "Some cppcheck cleaning"
This reverts commit b21661ce4200fd8040a213770a3f9e63a4b9f137.
this breaks with ../framework/source/lomenubar/MenuItemInfo.hxx:49:12: error: expected ‘;’ at end of member declaration
Diffstat (limited to 'framework')
-rw-r--r-- | framework/source/lomenubar/MenuItemInfo.cxx | 10 | ||||
-rw-r--r-- | framework/source/lomenubar/MenuItemInfo.hxx | 10 |
2 files changed, 10 insertions, 10 deletions
diff --git a/framework/source/lomenubar/MenuItemInfo.cxx b/framework/source/lomenubar/MenuItemInfo.cxx index 02a8e7c19fa2..18c159dbfd06 100644 --- a/framework/source/lomenubar/MenuItemInfo.cxx +++ b/framework/source/lomenubar/MenuItemInfo.cxx @@ -74,31 +74,31 @@ MenuItemInfo::setVisible (gboolean is_visible) //Getters gchar* -MenuItemInfo::getLabel const() +MenuItemInfo::getLabel () { return m_label; } gboolean -MenuItemInfo::getEnabled const() +MenuItemInfo::getEnabled () { return m_is_enabled; } gint -MenuItemInfo::getCheckState const() +MenuItemInfo::getCheckState () { return m_check_state; } const gchar* -MenuItemInfo::getCheckType const() +MenuItemInfo::getCheckType () { return m_check_type; } gboolean -MenuItemInfo::getVisible const() +MenuItemInfo::getVisible () { return m_is_visible; } diff --git a/framework/source/lomenubar/MenuItemInfo.hxx b/framework/source/lomenubar/MenuItemInfo.hxx index 24299761c2f7..72d411c4c8d6 100644 --- a/framework/source/lomenubar/MenuItemInfo.hxx +++ b/framework/source/lomenubar/MenuItemInfo.hxx @@ -46,11 +46,11 @@ class MenuItemInfo { void setVisible (gboolean is_visible); //Getters - gchar* getLabel const(); - gboolean getEnabled const(); - gint getCheckState const(); - const gchar* getCheckType const(); - gboolean getVisible const(); + gchar* getLabel (); + gboolean getEnabled (); + gint getCheckState (); + const gchar* getCheckType (); + gboolean getVisible (); }; #endif // __MENU_ITEM_INFO_HXX__ |