]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphinview.h
Jippie: file previews are generated again! Thanks to Fredrik for giving me a hint...
[dolphin.git] / src / dolphinview.h
index cffa52880d5722095c716f6fac543bca5a0c9d78..63ceb983a9f1ca4346f1289255ef22fc7e6134de 100644 (file)
@@ -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.