┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinview.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/dolphinview.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/dolphinview.h')
-rw-r--r--src/dolphinview.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/dolphinview.h b/src/dolphinview.h
index cffa52880..63ceb983a 100644
--- a/src/dolphinview.h
+++ b/src/dolphinview.h
@@ -405,6 +405,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.
*/