src/hbcore/gestures/hbtapandholdgesture.cpp
changeset 30 80e4d18b72f5
parent 6 c3690ec91ef8
equal deleted inserted replaced
28:b7da29130b0e 30:80e4d18b72f5
    21 ** If you have questions regarding the use of this file, please contact
    21 ** If you have questions regarding the use of this file, please contact
    22 ** Nokia at developer.feedback@nokia.com.
    22 ** Nokia at developer.feedback@nokia.com.
    23 **
    23 **
    24 ****************************************************************************/
    24 ****************************************************************************/
    25 
    25 
       
    26 #include "hbtapandholdgesture.h"
    26 #include "hbgestures_p.h"
    27 #include "hbgestures_p.h"
    27 #include "hbtapandholdgesture_p.h"
       
    28 #include "hbtapandholdgesture.h"
       
    29 
    28 
    30 #include <QObject>
    29 #include <QObject>
    31 
    30 
    32 /*!
    31 /*!
    33     @hbcore
    32     @hbcore
   119     Constructor.
   118     Constructor.
   120     \param parent Parent for the gesture
   119     \param parent Parent for the gesture
   121 */
   120 */
   122 HbTapAndHoldGesture::HbTapAndHoldGesture(QObject* parent)
   121 HbTapAndHoldGesture::HbTapAndHoldGesture(QObject* parent)
   123     :
   122     :
   124     QTapAndHoldGesture(parent)
   123     QTapAndHoldGesture(parent),
       
   124     priv(new HbTapAndHoldGesturePrivate)
   125 {
   125 {
   126     priv = new HbTapAndHoldGesturePrivate(this);
       
   127 }
   126 }
   128 
   127 
   129 /*!
   128 /*!
   130     Constructor required by the shared d-pointer paradigm.
   129     Constructor required by the shared d-pointer paradigm.
   131     \param dd Custom private data
   130     \param dd Custom private data
   134 HbTapAndHoldGesture::HbTapAndHoldGesture(HbTapAndHoldGesturePrivate* dd, QObject* parent)
   133 HbTapAndHoldGesture::HbTapAndHoldGesture(HbTapAndHoldGesturePrivate* dd, QObject* parent)
   135     :
   134     :
   136     QTapAndHoldGesture(parent),
   135     QTapAndHoldGesture(parent),
   137     priv(dd)
   136     priv(dd)
   138 {
   137 {
   139     priv->q_ptr = this;
   138     hbWarning("Shared private not supported for tap-and-hold");
   140 }
   139 }
   141 
   140 
   142 /*!
   141 /*!
   143     Destructor.
   142     Destructor.
   144 */
   143 */