┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphiniconsview.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2007-02-28 19:17:26 +0000
committerPeter Penz <[email protected]>2007-02-28 19:17:26 +0000
commita46551d63efd09b34fe33766533f6f5333737f22 (patch)
tree219c1a0793f47e43079a1e3d7f7a7e1caf2ca3a1 /src/dolphiniconsview.h
parentd38fc64a9f54747f07ca483f68b69f614abcf9f6 (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/dolphiniconsview.h')
-rw-r--r--src/dolphiniconsview.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/dolphiniconsview.h b/src/dolphiniconsview.h
index 91faf344a..22da7de21 100644
--- a/src/dolphiniconsview.h
+++ b/src/dolphiniconsview.h
@@ -47,6 +47,13 @@ protected:
virtual void dragEnterEvent(QDragEnterEvent* event);
virtual void dropEvent(QDropEvent* event);
+private slots:
+ /**
+ * Updates the size of the grid
+ * depending on the state of \a showPreview.
+ */
+ void updateGridSize(bool showPreview);
+
private:
DolphinController* m_controller;
QStyleOptionViewItem m_viewOptions;