]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphinmainwindow.h
Fix Bug 310465 - Can't switch view mode for non-writable paths
[dolphin.git] / src / dolphinmainwindow.h
index 4bc3c8d4dddfbcfae3ad6e09764afa59f7ee83a6..ab79fb0e6ebe6f59791168071ed2c30990c88434 100644 (file)
@@ -96,9 +96,6 @@ public:
      */
     bool isSplit() const;
 
-    /** Renames the item represented by \a oldUrl to \a newUrl. */
-    void rename(const KUrl& oldUrl, const KUrl& newUrl);
-
     /**
      * Returns the 'Create New...' sub menu which also can be shared
      * with other menus (e. g. a context menu).
@@ -125,6 +122,13 @@ public slots:
      */
     void changeUrl(const KUrl& url);
 
+    /**
+     * The current directory of the Terminal Panel has changed, probably because
+     * the user entered a 'cd' command. This slot calls changeUrl(url) and makes
+     * sure that the panel keeps the keyboard focus.
+     */
+    void slotTerminalDirectoryChanged(const KUrl& url);
+
     /** Stores all settings and quits Dolphin. */
     void quit();
 
@@ -451,6 +455,12 @@ private slots:
     void updateToolBar();
     void slotControlButtonDeleted();
 
+    /**
+     * Is called if a panel emits an error-message and shows
+     * the error-message in the active view-container.
+     */
+    void slotPanelErrorMessage(const QString& error);
+
 private:
     /**
      * Activates the given view, which means that