equal
deleted
inserted
replaced
39 |
39 |
40 #include "hbindexfeedback.h" |
40 #include "hbindexfeedback.h" |
41 #include <hbwidget_p.h> |
41 #include <hbwidget_p.h> |
42 |
42 |
43 #define HB_INDEXFEEDBACK_TYPE "indexfeedback" |
43 #define HB_INDEXFEEDBACK_TYPE "indexfeedback" |
44 #define EFFECT_IFAPPEAR "appear" |
|
45 #define EFFECT_IFDISAPPEAR "disappear" |
44 #define EFFECT_IFDISAPPEAR "disappear" |
46 |
45 |
47 QT_BEGIN_NAMESPACE |
46 QT_BEGIN_NAMESPACE |
48 class QGraphicsWidget; |
47 class QGraphicsWidget; |
49 class QGraphicsItem; |
48 class QGraphicsItem; |
79 qreal textHeight() const; |
78 qreal textHeight() const; |
80 qreal textWidth() const; |
79 qreal textWidth() const; |
81 |
80 |
82 QString displayText(const QVariant &data) const; |
81 QString displayText(const QVariant &data) const; |
83 |
82 |
|
83 void cancelEffect(const QString& effect); |
|
84 |
84 public: |
85 public: |
85 int mIndexFeedbackPressTimeout; |
86 int mIndexFeedbackPressTimeout; |
86 int mIndexFeedbackDwellTimeout; |
87 int mIndexFeedbackDwellTimeout; |
87 int mIndexFeedbackReleaseTimeout; |
88 int mIndexFeedbackReleaseTimeout; |
88 HbIndexFeedback::IndexFeedbackPolicy mIndexFeedbackPolicy; |
89 HbIndexFeedback::IndexFeedbackPolicy mIndexFeedbackPolicy; |