From a46551d63efd09b34fe33766533f6f5333737f22 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Wed, 28 Feb 2007 19:17:26 +0000 Subject: 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 --- src/dolphiniconsview.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/dolphiniconsview.h') 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; -- cgit v1.3.1