X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/41253c0c81bafb54a0b6c82e5282e3add85e8a50..bd47eb2e6d:/src/dolphinviewcontainer.h diff --git a/src/dolphinviewcontainer.h b/src/dolphinviewcontainer.h index 0b6a76d5e..41c8f0b04 100644 --- a/src/dolphinviewcontainer.h +++ b/src/dolphinviewcontainer.h @@ -244,12 +244,6 @@ private slots: */ void activate(); - /** - * Is invoked if the signal urlAboutToBeChanged() from the DolphinView - * is emitted. Tries to save the view-state. - */ - void slotViewUrlAboutToBeChanged(const QUrl& url); - /** * Is invoked if the signal urlAboutToBeChanged() from the URL navigator * is emitted. Tries to save the view-state. @@ -262,6 +256,11 @@ private slots: */ void slotUrlNavigatorLocationChanged(const QUrl& url); + /** + * @see KUrlNavigator::urlSelectionRequested + */ + void slotUrlSelectionRequested(const QUrl& url); + /** * Is invoked when a redirection is done and changes the * URL of the URL navigator to \a newUrl without triggering @@ -278,8 +277,6 @@ private slots: */ void saveUrlCompletionMode(KCompletion::CompletionMode completion); - void slotHistoryChanged(); - void slotReturnPressed(); /** @@ -313,6 +310,12 @@ private: */ void saveViewState(); + /** + * Restores the state of the current view iff the URL navigator contains a + * non-empty location state. + */ + void tryRestoreViewState(); + private: QVBoxLayout* m_topLayout; KUrlNavigator* m_urlNavigator;