┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/iconmanager.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2008-01-26 12:48:03 +0000
committerPeter Penz <[email protected]>2008-01-26 12:48:03 +0000
commit453131d6e8a59af87e943455e26074ce8e3ddae3 (patch)
tree4047f181227f5599b02d266be4524c53409e81b3 /src/iconmanager.h
parent22fcc2c4c5c337a2d0ba387f1d6ac5d38428cd2f (diff)
* increase the performance of item previews: each item view provides an icon size hint -> the preview and item effects are only applied to the current size, not to the maximum of 128 x 128 pixels
* make the icons of hidden files semitransparent like in KDE3 svn path=/trunk/KDE/kdebase/apps/; revision=766659
Diffstat (limited to 'src/iconmanager.h')
-rw-r--r--src/iconmanager.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/iconmanager.h b/src/iconmanager.h
index 2636c81c6..d6cf5332b 100644
--- a/src/iconmanager.h
+++ b/src/iconmanager.h
@@ -51,11 +51,11 @@ public:
private slots:
/**
- * Generates a preview image for each file item in \a items.
- * The current preview settings (maximum size, 'Show Preview' menu)
- * are respected.
+ * Updates the icons of for each item in \a items by making hidden
+ * items semitransparent and generating previews. The current preview
+ * settings (maximum size, 'Show Preview' menu) are respected.
*/
- void generatePreviews(const KFileItemList& items);
+ void updateIcons(const KFileItemList& items);
/**
* Replaces the icon of the item \a item by the preview pixmap
@@ -82,6 +82,9 @@ private:
/** Applies an item effect to all cut items. */
void applyCutItemEffect();
+ /** Applies an item effect to the hidden item \a hiddenItem. */
+ void applyHiddenItemEffect(const KFileItem& hiddenItem);
+
private:
/**
* Remembers the original pixmap for an item before