From a90938c414687b6dd85d34a7c9fc16afa03e0b68 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Sat, 26 Mar 2011 16:37:13 +0100 Subject: Show places selector of URL navigator only when required The places selector of the URL navigator only needs to get shown if the Places panel is invisible. --- src/dolphinmainwindow.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/dolphinmainwindow.h') diff --git a/src/dolphinmainwindow.h b/src/dolphinmainwindow.h index 10ebccb80..9c7753112 100644 --- a/src/dolphinmainwindow.h +++ b/src/dolphinmainwindow.h @@ -261,6 +261,13 @@ private slots: */ void togglePanelLockState(); + /** + * Is invoked if the Places panel got visible/invisible and takes care + * that the places-selector of all views is only shown if the Places panel + * is invisible. + */ + void slotPlacesPanelVisibilityChanged(bool visible); + /** Goes back one step of the URL history. */ void goBack(); @@ -451,6 +458,11 @@ private: */ void setActiveViewContainer(DolphinViewContainer* view); + /** + * Creates a view container and does a default initialization. + */ + DolphinViewContainer* createViewContainer(const KUrl& url, QWidget* parent); + void setupActions(); void setupDockWidgets(); void updateEditActions(); -- cgit v1.3