diff options
| author | Peter Penz <[email protected]> | 2007-02-28 19:17:26 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2007-02-28 19:17:26 +0000 |
| commit | a46551d63efd09b34fe33766533f6f5333737f22 (patch) | |
| tree | 219c1a0793f47e43079a1e3d7f7a7e1caf2ca3a1 /src/dolphincontroller.h | |
| parent | d38fc64a9f54747f07ca483f68b69f614abcf9f6 (diff) | |
Jippie: file previews are generated again! Thanks to Fredrik for giving me a hint how to do it (if I would have known that it is so easy, I'd have implemented it already some weeks ago...). It's very nice that the details view now also is able to show previews (Kudos to Interview & KDirModel).
svn path=/trunk/KDE/kdebase/apps/; revision=638081
Diffstat (limited to 'src/dolphincontroller.h')
| -rw-r--r-- | src/dolphincontroller.h | 10 |
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; }; |
