summaryrefslogtreecommitdiffstats
path: root/webview.h
diff options
context:
space:
mode:
authorRoopesh Chander <roop@forwardbias.in>2009-10-22 13:58:29 +0530
committerRoopesh Chander <roop@forwardbias.in>2009-10-22 13:58:29 +0530
commitb50584542f2c271d2f0f19aa09dd3bccc9adbef3 (patch)
treedd53419392972c961d76c7ed2ce5d5efd17cfd81 /webview.h
parentf41cbf4aefb25bfb6d045261b74be661d42b1f13 (diff)
make the select scraps button functional
Diffstat (limited to 'webview.h')
-rw-r--r--webview.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/webview.h b/webview.h
index 6928a9a..f0a19c2 100644
--- a/webview.h
+++ b/webview.h
@@ -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);