equal
deleted
inserted
replaced
32 */ |
32 */ |
33 class DualButtonToolbarSnippet : public ToolbarSnippet |
33 class DualButtonToolbarSnippet : public ToolbarSnippet |
34 { |
34 { |
35 Q_OBJECT |
35 Q_OBJECT |
36 public: |
36 public: |
37 DualButtonToolbarSnippet(const QString& elementId, ChromeWidget * chrome, const QRectF& ownerArea, const QWebElement & element, QGraphicsWidget * widget); |
37 DualButtonToolbarSnippet(const QString& elementId, ChromeWidget * chrome, const QWebElement & element); |
38 virtual ~DualButtonToolbarSnippet(); |
38 virtual ~DualButtonToolbarSnippet(); |
39 |
39 |
40 /// Reimplemented |
40 /// Reimplemented |
41 void updateOwnerArea(); |
41 void updateOwnerArea(); |
42 void updateSize(QSize ); |
42 void updateSize(QSize ); |
43 |
|
44 private Q_SLOTS: |
|
45 void onMouseEvent(QEvent::Type type); |
|
46 |
43 |
47 private: |
44 private: |
48 /// Must be Reimplemented |
45 /// Must be Reimplemented |
49 virtual void setAction(ChromeSnippet * s) = 0; |
46 virtual void setAction(ChromeSnippet * s) = 0; |
50 virtual void addChild(ChromeSnippet * child) = 0; |
47 virtual void addChild(ChromeSnippet * child) = 0; |