summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/tabwindow/tabbar.cpp4
-rw-r--r--src/tabwindow/tabwidget.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/src/tabwindow/tabbar.cpp b/src/tabwindow/tabbar.cpp
index eb062bf6..b64e5655 100644
--- a/src/tabwindow/tabbar.cpp
+++ b/src/tabwindow/tabbar.cpp
@@ -208,6 +208,10 @@ void TabBar::contextMenu(int tabIndex, const QPoint &pos)
a->setData(tabIndex);
menu.addAction(a);
+ a = new KAction(KIcon("view-refresh"), i18n("Reload All"), this);
+ connect(a, SIGNAL(triggered(bool)), w, SLOT(reloadAllTabs()));
+ menu.addAction(a);
+
if (count() > 1)
{
a = new KAction(KIcon("tab-detach"), i18n("Detach"), this);
diff --git a/src/tabwindow/tabwidget.h b/src/tabwindow/tabwidget.h
index 60561f1a..85c4d6a9 100644
--- a/src/tabwindow/tabwidget.h
+++ b/src/tabwindow/tabwidget.h
@@ -83,6 +83,7 @@ public:
public Q_SLOTS:
void loadUrl(const KUrl &, Rekonq::OpenType type = Rekonq::CurrentTab, TabHistory *history = 0);
void newTab(WebPage *page = 0);
+ void reloadAllTabs();
Q_SIGNALS:
void closeWindow();
@@ -121,7 +122,6 @@ private Q_SLOTS:
void detachTab(int index = -1, RekonqWindow *toWindow = 0);
void reloadTab(int index = -1);
- void reloadAllTabs();
void bookmarkAllTabs();
void nextTab();