equal
deleted
inserted
replaced
42 virtual ~HbInputScreenshotWidget(); |
42 virtual ~HbInputScreenshotWidget(); |
43 |
43 |
44 void setScreenshot(QPixmap &pixmap); |
44 void setScreenshot(QPixmap &pixmap); |
45 |
45 |
46 protected: // From QGraphicsItem |
46 protected: // From QGraphicsItem |
47 virtual QPainterPath shape () const; |
47 virtual QPainterPath shape() const; |
48 virtual void mousePressEvent(QGraphicsSceneMouseEvent* event); |
48 virtual void mousePressEvent(QGraphicsSceneMouseEvent *event); |
49 virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent* event); |
49 virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent *event); |
50 virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget); |
50 virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget); |
51 virtual int type() const { return Hb::ItemType_InputVkbWidget; } |
51 virtual int type() const { |
|
52 return Hb::ItemType_InputVkbWidget; |
|
53 } |
52 |
54 |
53 private: |
55 private: |
54 Q_DECLARE_PRIVATE_D(d_ptr, HbInputScreenshotWidget) |
56 Q_DECLARE_PRIVATE_D(d_ptr, HbInputScreenshotWidget) |
55 Q_DISABLE_COPY(HbInputScreenshotWidget) |
57 Q_DISABLE_COPY(HbInputScreenshotWidget) |
56 }; |
58 }; |