]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphinmainwindow.h
Add an option to use an UrlNavigator in the toolbar instead
[dolphin.git] / src / dolphinmainwindow.h
index a56215fa7d28df019f924ded6b6c5d938ef1b1c5..529319e2adf1109193dcd81a171f61174b70749a 100644 (file)
@@ -68,9 +68,14 @@ public:
     DolphinViewContainer* activeViewContainer() const;
 
     /**
-     * Returns view container for all tabs
+     * Returns view containers for all tabs
+     * @param includeInactive   When true all view containers available in
+     *                          this window are returned. When false the
+     *                          view containers of split views that are not
+     *                          currently active are ignored.
+     *                          Default is true.
      */
-    QVector<DolphinViewContainer*> viewContainers() const;
+    QVector<DolphinViewContainer*> viewContainers(bool includeInactive = true) const;
 
     /**
      * Opens each directory in \p dirs in a separate tab. If \a splitView is set,
@@ -305,6 +310,12 @@ private slots:
 
     void showFilterBar();
 
+    /**
+     * Toggle between either using an UrlNavigator in the toolbar or the
+     * ones in the location bar for navigating.
+     */
+    void toggleLocationInToolbar();
+
     /**
      * Toggles between edit and browse mode of the navigation bar.
      */