diff options
author | Roopesh Chander <roop@forwardbias.in> | 2009-10-22 13:58:29 +0530 |
---|---|---|
committer | Roopesh Chander <roop@forwardbias.in> | 2009-10-22 13:58:29 +0530 |
commit | b50584542f2c271d2f0f19aa09dd3bccc9adbef3 (patch) | |
tree | dd53419392972c961d76c7ed2ce5d5efd17cfd81 /webview.h | |
parent | f41cbf4aefb25bfb6d045261b74be661d42b1f13 (diff) |
make the select scraps button functional
Diffstat (limited to 'webview.h')
-rw-r--r-- | webview.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -9,11 +9,14 @@ class WebView : public QGraphicsWebView { + Q_OBJECT public: WebView(QGraphicsItem * parent = 0); - void setScrapSelectionEnabled(bool enabled); bool scrapSelectionEnabled() const; +public slots: + void setScrapSelectionEnabled(bool enabled); + protected: void hoverMoveEvent(QGraphicsSceneHoverEvent* event); void mousePressEvent(QGraphicsSceneMouseEvent* event); |