┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinview.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2007-05-17 13:29:13 +0000
committerPeter Penz <[email protected]>2007-05-17 13:29:13 +0000
commitc35843f38c596eda4a9b04ba4c6a3247f3bdebc9 (patch)
tree171e3551dd40fa80c41af4c4cd57e8c1810385c4 /src/dolphinview.h
parent8e4e7ce5b248026d941fc4097cbd92032ef53b19 (diff)
when the column view is used, then 'Split view' should take the root URL of the column view as new base for the secondary view
svn path=/trunk/KDE/kdebase/apps/; revision=665630
Diffstat (limited to 'src/dolphinview.h')
-rw-r--r--src/dolphinview.h22
1 files changed, 19 insertions, 3 deletions
diff --git a/src/dolphinview.h b/src/dolphinview.h
index 96b487961..0ac116fab 100644
--- a/src/dolphinview.h
+++ b/src/dolphinview.h
@@ -120,16 +120,32 @@ public:
virtual ~DolphinView();
/**
- * Sets the current active URL.
- * The signals KUrlNavigator::urlChanged() and KUrlNavigator::historyChanged()
+ * Sets the current active URL, where all actions are applied. The
+ * URL navigator is synchronized with this URL. The signals
+ * KUrlNavigator::urlChanged() and KUrlNavigator::historyChanged()
* are emitted.
+ * @see DolphinView::urlNavigator()
*/
void setUrl(const KUrl& url);
- /** Returns the current active URL. */
+ /**
+ * Returns the current active URL, where all actions are applied.
+ * The URL navigator is synchronized with this URL.
+ */
const KUrl& url() const;
/**
+ * Returns the root URL of the view, which is defined as the first
+ * visible path of DolphinView::url(). Usually the root URL is
+ * equal to DolphinView::url(), but in the case of the column view
+ * when 2 columns are shown, the root URL might be:
+ * /home/peter/Documents
+ * and DolphinView::url() might return
+ * /home/peter/Documents/Music/
+ */
+ KUrl rootUrl() const;
+
+ /**
* Returns true if the view is active and hence all actions are
* applied to this view.
*/