summaryrefslogtreecommitdiff
path: root/examples/widgets/browser/browsermainwindow.h
diff options
context:
space:
mode:
authorJocelyn Turcotte <jocelyn.turcotte@digia.com>2013-08-06 17:45:07 +0200
committerJocelyn Turcotte <jocelyn.turcotte@digia.com>2013-08-20 18:15:21 +0200
commit68f3331b98d4d9996732117549cbdf4ea80cac70 (patch)
tree1a43dcad4e6f9f96852e113413cba065f9fd283b /examples/widgets/browser/browsermainwindow.h
parentccfeac7d1e474408e2cae169714326f6198eb17c (diff)
downloadqtwebengine-68f3331b98d4d9996732117549cbdf4ea80cac70.tar.gz
demo browser: Fix the compilation with QtWebEngine.
This makes the demo compile, but not link since most of the methods aren't implemented yet. Also disable downloads and printing since they require a bit more work to instead use the page directly. Change-Id: I59adfe07fda077c6909f70f12800a4cfa6a6dad2 Reviewed-by: Andras Becsi <andras.becsi@digia.com>
Diffstat (limited to 'examples/widgets/browser/browsermainwindow.h')
-rw-r--r--examples/widgets/browser/browsermainwindow.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/widgets/browser/browsermainwindow.h b/examples/widgets/browser/browsermainwindow.h
index a6905e0bc..2e59a73c8 100644
--- a/examples/widgets/browser/browsermainwindow.h
+++ b/examples/widgets/browser/browsermainwindow.h
@@ -49,7 +49,7 @@
class AutoSaver;
class BookmarksToolBar;
class ChaseWidget;
-class QWebFrame;
+class QWebEngineFrame;
class TabWidget;
class ToolbarSearch;
class WebView;
@@ -124,7 +124,7 @@ private slots:
void slotShowWindow();
void slotSwapFocus();
- void printRequested(QWebFrame *frame);
+ void printRequested(QWebEngineFrame *frame);
void geometryChangeRequested(const QRect &geometry);
void updateToolbarActionText(bool visible);
void updateBookmarksToolbarActionText(bool visible);