* Transforms a raw preview image, applying scale and frame.
*
* @param pixmap A raw preview image from a PreviewJob.
+ * @param overlays the overlays to add to the pixmap
* @return The scaled and decorated preview image.
*/
QPixmap transformPreviewPixmap(const QPixmap &pixmap);
void trimHoverSequenceLoadedItems();
+ void resetSizeData(const int index, const int size = 0);
+
+ void recountDirectoryItems(const QList<QUrl> directories);
+
private:
+ QSize cacheSize();
/**
* enqueue directory size counting for KFileItem item at index
*/