From 167c9c556147cc70ea0ccc8d1095903be52d4630 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Sun, 15 Jan 2012 11:07:18 +0100 Subject: Rework on load/stop/reload action Also clean up API, giving proper names to method updateActions --> updateHistoryActions browserTabLoading(bool) --> currentTabStateChanged() ... also workaround problem that m_progress is (yet) 0 or 100 when load started REVIEW:103651 --- src/mainwindow.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/mainwindow.h') diff --git a/src/mainwindow.h b/src/mainwindow.h index abdf903a..0b1380da 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -104,7 +104,8 @@ public Q_SLOTS: void printRequested(QWebFrame *frame = 0); - void updateActions(); + void updateHistoryActions(); + void updateTabActions(); virtual void configureToolbars(); @@ -146,7 +147,6 @@ protected: void finalizeGUI(KXMLGUIClient *client); private Q_SLOTS: - void browserLoading(bool); void updateWindowTitle(const QString &title = QString()); // history related @@ -201,7 +201,7 @@ private: WebInspectorPanel *m_webInspectorPanel; NetworkAnalyzerPanel *m_analyzerPanel; - KAction *m_stopReloadAction; + KAction *m_loadStopReloadAction; KMenu *m_historyBackMenu; KMenu *m_historyForwardMenu; -- cgit v1.2.1