src/hbcore/gui/hbmenu.cpp
changeset 6 c3690ec91ef8
parent 5 627c4a0fd0e7
child 21 4633027730f5
child 34 ed14f46c0e55
--- a/src/hbcore/gui/hbmenu.cpp	Fri Jun 11 13:58:22 2010 +0300
+++ b/src/hbcore/gui/hbmenu.cpp	Wed Jun 23 18:33:25 2010 +0300
@@ -487,6 +487,9 @@
     setTitle(title);
 }
 
+/*!
+    Protected constructor.
+*/
 HbMenu::HbMenu(HbMenuPrivate &dd, QGraphicsItem *parent) :
         HbPopup(dd, parent)
 {
@@ -675,7 +678,9 @@
 }
 
 /*!
-    \return the menu title. For a sub-menu, the title is the sub-menu action text.
+    Returns the menu title. For a sub-menu, the title is the sub-menu action text.
+
+    \return the menu title.
 
     \sa setTitle()
 */
@@ -685,7 +690,9 @@
 }
 
 /*!
-    \return the menu type. By default a menu is a context menu.
+    Returns the menu type. By default a menu is a context menu.
+
+    \return the menu type.
 */
 HbMenu::MenuType HbMenu::menuType() const
 {
@@ -747,6 +754,9 @@
     return HbPopup::event(event);
 }
 
+/*!
+  \reimp
+  */
 void HbMenu::polish(HbStyleParameters &params)
 {
     Q_D(HbMenu);
@@ -783,6 +793,10 @@
     }
 }
 
+/*!
+  \reimp
+  Returns the shape of this item as a QPainterPath.
+ */
 QPainterPath HbMenu::shape() const
 {
     /*QRectF rect = QRectF(-1.0, -1.0, boundingRect().width() + 1.0, boundingRect().height() + 1.0);