src/hbwidgets/itemviews/hbindexfeedback_p.h
changeset 28 b7da29130b0e
parent 0 16d8024aca5e
child 30 80e4d18b72f5
equal deleted inserted replaced
23:e6ad4ef83b23 28:b7da29130b0e
    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;