summaryrefslogtreecommitdiff
path: root/src/webview.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/webview.h')
-rw-r--r--src/webview.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/webview.h b/src/webview.h
index f1e5272c..16b199ff 100644
--- a/src/webview.h
+++ b/src/webview.h
@@ -45,6 +45,9 @@ class WebView : public QWebView
public:
explicit WebView(QWidget *parent = 0);
+
+ // Q_DECLARE_METATYPE requires a copy-constructor
+ WebView(const WebView &);
WebPage *page();
KUrl url() const;
@@ -82,5 +85,6 @@ private:
int m_progress;
QString m_statusBarText;
};
+Q_DECLARE_METATYPE(WebView)
#endif