diff options
Diffstat (limited to 'src/kitemviews/kfileitemlistview.h')
| -rw-r--r-- | src/kitemviews/kfileitemlistview.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/kitemviews/kfileitemlistview.h b/src/kitemviews/kfileitemlistview.h index a41d091b7..203fb78c4 100644 --- a/src/kitemviews/kfileitemlistview.h +++ b/src/kitemviews/kfileitemlistview.h @@ -57,6 +57,23 @@ public: void setItemLayout(Layout layout); Layout itemLayout() const; + /** + * Sets the list of enabled thumbnail plugins that are used for previews. + * Per default all plugins enabled in the KConfigGroup "PreviewSettings" + * are used. + * + * For a list of available plugins, call KServiceTypeTrader::self()->query("ThumbCreator"). + * + * @see enabledPlugins + */ + void setEnabledPlugins(const QStringList& list); + + /** + * Returns the list of enabled thumbnail plugins. + * @see setEnabledPlugins + */ + QStringList enabledPlugins() const; + /** @reimp */ virtual QSizeF itemSizeHint(int index) const; |
