summaryrefslogtreecommitdiff
path: root/src/webview.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/webview.h')
-rw-r--r--src/webview.h14
1 files changed, 3 insertions, 11 deletions
diff --git a/src/webview.h b/src/webview.h
index baf8f9f5..4dc7306d 100644
--- a/src/webview.h
+++ b/src/webview.h
@@ -45,25 +45,16 @@ class WebView : public QWebView
public:
explicit WebView(QWidget *parent = 0);
-
+ ~WebView();
+
WebPage *page();
KUrl url() const;
QString lastStatusBarText() const;
int progress();
-signals:
- // switching tabs
- void ctrlTabPressed();
- void shiftCtrlTabPressed();
-
protected:
void contextMenuEvent(QContextMenuEvent *event);
void mousePressEvent(QMouseEvent *event);
- /**
- * Filters (SHIFT + ) CTRL + TAB events and emit (shift)ctrlTabPressed()
- * to make switch tab
- */
- void keyPressEvent(QKeyEvent *event);
void wheelEvent(QWheelEvent *event);
private slots:
@@ -74,6 +65,7 @@ private slots:
void printFrame();
+ void viewImage(Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers);
void openLinkInNewWindow();
void openLinkInNewTab();