┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinmainwindow.h
diff options
context:
space:
mode:
authorFrank Reininghaus <[email protected]>2012-04-26 08:31:46 +0200
committerFrank Reininghaus <[email protected]>2012-04-26 08:31:59 +0200
commit12c239ae149cfed254066248f411b114743f5836 (patch)
treef6b27cede4b07376bcfaa71d48c7881326583881 /src/dolphinmainwindow.h
parent640696db728ad3163384e19f789ebc022d183da6 (diff)
Update the view when changing the directory using 'cd' in the terminal
Thanks to Jekyll Wu for helping to implement this feature! FEATURE: 156732 FIXED-IN: 4.9.0
Diffstat (limited to 'src/dolphinmainwindow.h')
-rw-r--r--src/dolphinmainwindow.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/dolphinmainwindow.h b/src/dolphinmainwindow.h
index 4bc3c8d4d..722e3ab7a 100644
--- a/src/dolphinmainwindow.h
+++ b/src/dolphinmainwindow.h
@@ -125,6 +125,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();