src/hbcore/gestures/hbtapgesture.cpp
changeset 2 06ff229162e9
parent 1 f7ac710697a9
child 6 c3690ec91ef8
--- a/src/hbcore/gestures/hbtapgesture.cpp	Mon May 03 12:48:33 2010 +0300
+++ b/src/hbcore/gestures/hbtapgesture.cpp	Fri May 14 16:09:54 2010 +0300
@@ -66,18 +66,31 @@
 
 */
 
+/*!
+    \brief HbTapGesture constructor
+    \param parent Parent for the gesture
+*/
 HbTapGesture::HbTapGesture(QObject *parent)
     : QTapGesture(parent), d_ptr(new HbTapGesturePrivate)
 {
     DEBUG() << "Creating" << this;
 }
 
+/*!
+    \brief HbTapGesture constructor
+    \param dd Custom private data
+    \param parent Parent for the gesture
+
+*/
 HbTapGesture::HbTapGesture( HbTapGesturePrivate &dd, QObject *parent )
     : QTapGesture(parent), d_ptr( &dd )
 {
     DEBUG() << "Creating" << this;
 }
 
+/*!
+    \brief HbTapGesture destructor
+*/
 HbTapGesture::~HbTapGesture()
 {
     DEBUG() << "Deleting" << this;
@@ -85,11 +98,8 @@
 }
 
 /*!
-
     \property startPos
-
-    Stores the starting position of the tap gesture in screen coordinates.
-
+    \brief Stores the starting position of the tap gesture in screen coordinates.
 */
 QPointF HbTapGesture::startPos() const
 {
@@ -104,11 +114,8 @@
 }
 
 /*!
-
     \property sceneStartPos
-
-    Stores the starting position of the tap gesture in scene coordinates.
-
+    \brief Stores the starting position of the tap gesture in scene coordinates.
 */
 QPointF HbTapGesture::sceneStartPos() const
 {
@@ -123,11 +130,9 @@
 }
 
 /*!
-
-    \property startPos
-
-    Stores the starting position of the tap gesture in scene coordinates.
-
+    \property scenePosition
+    \brief Stores the current position of the tap gesture in scene coordinates.
+    \sa QTapGesture::position()
 */
 QPointF HbTapGesture::scenePosition() const
 {
@@ -143,6 +148,7 @@
 
 /*!
     \property tapStyleHint
+    \brief Indicates whether tap is normal tap or long press.
 
     TapStyleHint is by default Tap and in case of long press, the gesture
     update event is sent and TapStyleHint changed to TapAndHold.