summaryrefslogtreecommitdiffstats
path: root/webscrap.h
diff options
context:
space:
mode:
authorRoopesh Chander <roop@forwardbias.in>2009-10-15 18:39:19 +0530
committerRoopesh Chander <roop@forwardbias.in>2009-10-15 18:39:19 +0530
commitfdf4be47786f9514cc2160679cb330104b43a2c5 (patch)
tree45e4e4ca39df5d2b21057d2aeea44c723fe7c697 /webscrap.h
parente70bbc6d68722798b4fe6129895e26cfcc9cec98 (diff)
Use the spanking new QGraphicsWebView to model the scraps
Diffstat (limited to 'webscrap.h')
-rw-r--r--webscrap.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/webscrap.h b/webscrap.h
index ee722e9..2045958 100644
--- a/webscrap.h
+++ b/webscrap.h
@@ -2,12 +2,13 @@
#define WEBSCRAP_H
#include <QWebView>
+#include <QGraphicsWebView>
-class WebScrap : public QWebView
+class WebScrap : public QGraphicsWebView
{
Q_OBJECT
public:
- WebScrap(QUrl url, QRect scrapRect, QWidget * parent = 0);
+ WebScrap(QUrl url, QRect scrapRect, QGraphicsItem * parent = 0);
private slots:
void onLoad();