]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphinmainwindow.h
Allow folder creation on desktop via F10 shortcut
[dolphin.git] / src / dolphinmainwindow.h
index 80d0f891a5459cfdd3c96dbeddb5de096073b79d..29ab6326dac20128fc7aa9bdff59b7f74ff52f16 100644 (file)
@@ -102,6 +102,15 @@ public:
      */
     void setViewsToHomeIfMountPathOpen(const QString& mountPath);
 
+    /**
+     * Sets any of the window's view containers which are currently displaying
+     * invalid locations to the home path
+     */
+    void setViewsWithInvalidPathsToHome();
+
+    bool isFoldersPanelEnabled() const;
+    bool isInformationPanelEnabled() const;
+
 public slots:
     /**
      * Opens each directory in \p dirs in a separate tab. If \a splitView is set,
@@ -640,6 +649,9 @@ private:
     KToolBarPopupAction* m_backAction;
     KToolBarPopupAction* m_forwardAction;
 
+    /** Makes sure that only one object is ever connected to the history. */
+    QMetaObject::Connection m_updateHistoryConnection;
+
     QMenu m_searchTools;
 
 };