X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/f65b0899c3666561cafac14f67ab0bb8a5bfa00a..40cc5f665d:/src/kitemviews/kfileitemlistview.h diff --git a/src/kitemviews/kfileitemlistview.h b/src/kitemviews/kfileitemlistview.h index 8ef524a2d..9c7b4fc6f 100644 --- a/src/kitemviews/kfileitemlistview.h +++ b/src/kitemviews/kfileitemlistview.h @@ -10,6 +10,8 @@ #include "dolphin_export.h" #include "kitemviews/kstandarditemlistview.h" +#include + class KFileItemModelRolesUpdater; class QTimer; @@ -46,7 +48,7 @@ public: * Per default all plugins enabled in the KConfigGroup "PreviewSettings" * are used. * - * For a list of available plugins, call KServiceTypeTrader::self()->query("ThumbCreator"). + * For a list of available plugins, call KIO::PreviewJob::availableThumbnailerPlugins(). * * @see enabledPlugins */ @@ -78,6 +80,16 @@ public: QPixmap createDragPixmap(const KItemSet& indexes) const override; + /** + * Notifies the view of a change in the hover state on an item. + * + * @param itemUrl URL of the item that is hovered, or an empty URL if no item is hovered. + * @param seqIdx The current hover sequence index. While an item is hovered, + * this method will be called repeatedly with increasing values + * for this parameter. + */ + void setHoverSequenceState(const QUrl& itemUrl, int seqIdx); + protected: KItemListWidgetCreatorBase* defaultWidgetCreator() const override; void initializeItemListWidget(KItemListWidget* item) override;