diff options
Diffstat (limited to 'src/webwindow')
-rw-r--r-- | src/webwindow/webwindow.cpp | 12 | ||||
-rw-r--r-- | src/webwindow/webwindow.h | 3 |
2 files changed, 15 insertions, 0 deletions
diff --git a/src/webwindow/webwindow.cpp b/src/webwindow/webwindow.cpp index cdd350b3..c0cd9c41 100644 --- a/src/webwindow/webwindow.cpp +++ b/src/webwindow/webwindow.cpp @@ -141,6 +141,18 @@ QIcon WebWindow::icon() const } +KLineEdit *WebWindow::urlBar() +{ + return _edit; +} + + +WebTab *WebWindow::view() +{ + return _tab; +} + + QPixmap WebWindow::tabPreview(int width, int height) { return WebSnap::renderPagePreview(*page(), width, height); diff --git a/src/webwindow/webwindow.h b/src/webwindow/webwindow.h index 64af055b..9551000b 100644 --- a/src/webwindow/webwindow.h +++ b/src/webwindow/webwindow.h @@ -64,6 +64,9 @@ public: KUrl url() const; QString title() const; QIcon icon() const; + + KLineEdit *urlBar(); + WebTab *view(); QPixmap tabPreview(int width, int height); |