┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphincolumnview.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dolphincolumnview.h')
-rw-r--r--src/dolphincolumnview.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/dolphincolumnview.h b/src/dolphincolumnview.h
index 978847ab6..eb5d33342 100644
--- a/src/dolphincolumnview.h
+++ b/src/dolphincolumnview.h
@@ -24,6 +24,8 @@
#include <QtGui/QStyleOption>
class DolphinController;
+class KDirLister;
+class KUrl;
/**
* @brief Represents the view, where each directory is show as separate column.
@@ -50,11 +52,24 @@ private slots:
void zoomOut();
void triggerItem(const QModelIndex& index);
+ /**
+ * Updates the activation state of all columns, where \a url
+ * represents the URL of the active column. All operations
+ * are applied only to the column which is marked as active.
+ */
+ void updateColumnsState(const KUrl& url);
+
private:
bool isZoomInPossible() const;
bool isZoomOutPossible() const;
/**
+ * Requests the activation for the column \a column. The URL
+ * navigator will be changed to represent the column.
+ */
+ void requestActivation(QWidget* column);
+
+ /**
* Updates the size of the decoration dependent on the
* icon size of the ColumnModeSettings. The controller
* will get informed about possible zoom in/zoom out
@@ -62,6 +77,9 @@ private:
*/
void updateDecorationSize();
+ /** Returns the directory lister used by the view. */
+ KDirLister* dirLister() const;
+
private:
DolphinController* m_controller;