summaryrefslogtreecommitdiff
path: root/src/webtab/webview.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2013-06-07 01:10:36 +0200
committerAndrea Diamantini <adjam7@gmail.com>2013-06-07 01:10:36 +0200
commit8767b92a1027283562d33de783f9601f66f3d32f (patch)
treeaee519f5bbae9fe0c4b8fe6ff37183dd28ba8bb4 /src/webtab/webview.h
parentMove from about: to rekonq: protocol for our special links (diff)
downloadrekonq-8767b92a1027283562d33de783f9601f66f3d32f.tar.xz
Fix behavior on unloaded sites
- show url - reload with f5 BUG:319924 BUG:312928
Diffstat (limited to 'src/webtab/webview.h')
-rw-r--r--src/webtab/webview.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/webtab/webview.h b/src/webtab/webview.h
index 8f4eb029..bbcd10fd 100644
--- a/src/webtab/webview.h
+++ b/src/webtab/webview.h
@@ -76,6 +76,9 @@ public:
QNetworkAccessManager::Operation op = QNetworkAccessManager::GetOperation,
const QByteArray & body = QByteArray());
+public Q_SLOTS:
+ void reload();
+
protected:
bool popupSpellMenu(QContextMenuEvent *event);
void contextMenuEvent(QContextMenuEvent *event);
@@ -130,6 +133,11 @@ private Q_SLOTS:
void guessHoveredLink(QPoint);
+private:
+ bool checkForAccessKey(QKeyEvent *event);
+ void showAccessKeys();
+ void makeAccessKeyLabel(const QChar &accessKey, const QWebElement &element);
+
Q_SIGNALS:
void loadUrl(const KUrl &, const Rekonq::OpenType &);
@@ -138,11 +146,6 @@ Q_SIGNALS:
void openNextInHistory();
private:
- bool checkForAccessKey(QKeyEvent *event);
- void showAccessKeys();
- void makeAccessKeyLabel(const QChar &accessKey, const QWebElement &element);
-
-private:
QPoint m_clickPos;
QWebHitTestResult m_contextMenuHitResult;