equal
deleted
inserted
replaced
19 #define CNTIMAGELABEL_H |
19 #define CNTIMAGELABEL_H |
20 |
20 |
21 #include <QObject> |
21 #include <QObject> |
22 #include <hblabel.h> |
22 #include <hblabel.h> |
23 |
23 |
|
24 class QGesture; |
|
25 |
24 class CntImageLabel : public HbLabel |
26 class CntImageLabel : public HbLabel |
25 { |
27 { |
26 Q_OBJECT |
28 Q_OBJECT |
27 |
29 |
28 public: |
30 public: |
29 CntImageLabel(QGraphicsItem *parent = 0); |
31 CntImageLabel(QGraphicsItem *parent = 0); |
30 ~CntImageLabel(); |
32 ~CntImageLabel(); |
31 |
33 |
32 protected: |
34 protected: |
33 void mousePressEvent(QGraphicsSceneMouseEvent *event); |
35 void gestureEvent(QGestureEvent* event); |
34 void mouseReleaseEvent(QGraphicsSceneMouseEvent *event); |
|
35 |
36 |
36 signals: |
37 signals: |
37 void iconClicked(); |
38 void iconClicked(); |
|
39 void iconLongPressed(const QPointF&); |
38 }; |
40 }; |
39 |
41 |
40 #endif // CNTEDITVIEWHEADINGITEM_H |
42 #endif // CNTEDITVIEWHEADINGITEM_H |