From 12c239ae149cfed254066248f411b114743f5836 Mon Sep 17 00:00:00 2001 From: Frank Reininghaus Date: Thu, 26 Apr 2012 08:31:46 +0200 Subject: 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 --- src/dolphinviewcontainer.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/dolphinviewcontainer.h') diff --git a/src/dolphinviewcontainer.h b/src/dolphinviewcontainer.h index 10dd67246..a1569ea8b 100644 --- a/src/dolphinviewcontainer.h +++ b/src/dolphinviewcontainer.h @@ -79,6 +79,14 @@ public: void setActive(bool active); bool isActive() const; + /** + * If \a grab is set to true, the container automatically grabs the focus + * as soon as the URL has been changed. Per default the grabbing + * of the focus is enabled. + */ + void setAutoGrabFocus(bool grab); + bool autoGrabFocus() const; + const DolphinStatusBar* statusBar() const; DolphinStatusBar* statusBar(); @@ -288,6 +296,7 @@ private: DolphinStatusBar* m_statusBar; QTimer* m_statusBarTimer; // Triggers a delayed update QElapsedTimer m_statusBarTimestamp; // Time in ms since last update + bool m_autoGrabFocus; }; #endif // DOLPHINVIEWCONTAINER_H -- cgit v1.3