┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/kitemviews/kfileitemlistview.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2012-04-06 23:06:05 +0200
committerPeter Penz <[email protected]>2012-04-06 23:12:07 +0200
commitdc555b8e56162bb908ad398341c5d7828d443bf3 (patch)
treebd2f5d817a466cc3ae56d54405ae92344a6a2cd5 /src/kitemviews/kfileitemlistview.h
parent5d27eb81cd038d1cf66f21efa24cb8c2ebd52557 (diff)
Allow to specify whether an upscaling of images should be done
The option is currently hidden as up to now only Nuno requested it, but it seems to be urgent: "my icon making productivity has drop subtantialy" ((c) 2012 Nuno) As I don't want to get blamed for an outdated Oxygen-icon-set I have no other choice ;-) CCMAIL: [email protected]
Diffstat (limited to 'src/kitemviews/kfileitemlistview.h')
-rw-r--r--src/kitemviews/kfileitemlistview.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/kitemviews/kfileitemlistview.h b/src/kitemviews/kfileitemlistview.h
index 40808c4de..8f7ca9063 100644
--- a/src/kitemviews/kfileitemlistview.h
+++ b/src/kitemviews/kfileitemlistview.h
@@ -54,6 +54,14 @@ public:
void setPreviewsShown(bool show);
bool previewsShown() const;
+ /**
+ * If enabled a small preview gets upscaled to the icon size in case where
+ * the icon size is larger than the preview. Per default enlarging is
+ * enabled.
+ */
+ void setEnlargeSmallPreviews(bool enlarge);
+ bool enlargeSmallPreviews() const;
+
void setItemLayout(Layout layout);
Layout itemLayout() const;