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/dolphinview.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/dolphinview.h') diff --git a/src/dolphinview.h b/src/dolphinview.h index cffa52880..63ceb983a 100644 --- a/src/dolphinview.h +++ b/src/dolphinview.h @@ -404,6 +404,19 @@ private slots: */ void updateItemCount(); + /** + * Generates a preview image for each file item in \a items. + * The current preview settings (maximum size, 'Show Preview' menu) + * are respected. + */ + void generatePreviews(const KFileItemList& items); + + /** + * Replaces the icon of the item \a item by the preview pixmap + * \a pixmap. + */ + void showPreview(const KFileItem* item, const QPixmap& pixmap); + /** * Restores the x- and y-position of the contents if the * current view is part of the history. -- cgit v1.3