┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphincontroller.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dolphincontroller.h')
-rw-r--r--src/dolphincontroller.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/dolphincontroller.h b/src/dolphincontroller.h
index bde01c28e..08d12ea57 100644
--- a/src/dolphincontroller.h
+++ b/src/dolphincontroller.h
@@ -67,6 +67,9 @@ public:
void indicateSortOrderChange(Qt::SortOrder order);
+ void setShowPreview(bool showPreview);
+ bool showPreview() const { return m_showPreview; }
+
public slots:
void triggerItem(const QModelIndex& index);
void indicateSelectionChange();
@@ -103,6 +106,12 @@ signals:
void sortOrderChanged(Qt::SortOrder order);
/**
+ * Is emitted if the state for showing previews has been
+ * changed to \a showPreview.
+ */
+ void showPreviewChanged(bool showPreview);
+
+ /**
* Is emitted if the item with the index \a index should be triggered.
* Usually triggering on a directory opens the directory, triggering
* on a file opens the corresponding application.
@@ -113,6 +122,7 @@ signals:
void selectionChanged();
private:
+ bool m_showPreview;
KUrl m_url;
};