diff options
| author | Frank Reininghaus <[email protected]> | 2012-04-26 08:31:46 +0200 |
|---|---|---|
| committer | Frank Reininghaus <[email protected]> | 2012-04-26 08:31:59 +0200 |
| commit | 12c239ae149cfed254066248f411b114743f5836 (patch) | |
| tree | f6b27cede4b07376bcfaa71d48c7881326583881 /src/dolphinviewcontainer.h | |
| parent | 640696db728ad3163384e19f789ebc022d183da6 (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/dolphinviewcontainer.h')
| -rw-r--r-- | src/dolphinviewcontainer.h | 9 |
1 files changed, 9 insertions, 0 deletions
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 |
