--- a/src/hbcore/decorators/hbtitlepane_p_p.h Thu Sep 02 20:44:51 2010 +0300
+++ b/src/hbcore/decorators/hbtitlepane_p_p.h Fri Sep 17 08:32:10 2010 +0300
@@ -28,6 +28,9 @@
#include <hbwidget_p.h>
+class HbTapGesture;
+class HbSwipeGesture;
+
class HbTitlePanePrivate : public HbWidgetPrivate
{
Q_DECLARE_PUBLIC(HbTitlePane)
@@ -36,20 +39,25 @@
HbTitlePanePrivate();
void delayedConstruction();
+ void init();
+
void createPrimitives();
void updatePrimitives();
- void init();
- void toggle(bool on);
+ void handleTap(HbTapGesture *tap);
+ void handleSwipe(HbSwipeGesture *swipe);
+ void cancelTap();
QString mText;
QGraphicsItem *mTextItem;
- bool mToggled;
QGraphicsItem *mIcon;
QIcon::Mode mMode;
QGraphicsItem *mTouchArea;
bool mMargueeAnimation;
+
+ bool mTapStarted;
+ bool mSwipeStarted;
};