From 800d5114cb1a9b7d5c874f382cc831b4f142469b Mon Sep 17 00:00:00 2001 From: Olivier Goffart Date: Mon, 7 Sep 2015 17:47:53 +0200 Subject: Use the new KOverlayIconPlugin interface from KIO::Widgets REVIEW: 125675 --- src/kitemviews/kfileitemmodelrolesupdater.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/kitemviews/kfileitemmodelrolesupdater.h') diff --git a/src/kitemviews/kfileitemmodelrolesupdater.h b/src/kitemviews/kfileitemmodelrolesupdater.h index 6e7559fb5..f3d40a6c5 100644 --- a/src/kitemviews/kfileitemmodelrolesupdater.h +++ b/src/kitemviews/kfileitemmodelrolesupdater.h @@ -36,6 +36,7 @@ class KDirectoryContentsCounter; class KFileItemModel; class QPixmap; class QTimer; +class KOverlayIconPlugin; namespace KIO { class PreviewJob; @@ -183,6 +184,11 @@ private slots: */ void slotPreviewJobFinished(); + /** + * Is invoked when one of the KOverlayIconPlugin emit the signal that an overlay has changed + */ + void slotOverlaysChanged(const QUrl& url, const QStringList&); + /** * Resolves the sort role of the next item in m_pendingSortRole, applies it * to the model, and invokes itself if there are any pending items left. If @@ -334,6 +340,8 @@ private: KDirectoryContentsCounter* m_directoryContentsCounter; + QList m_overlayIconsPlugin; + #ifdef HAVE_BALOO Baloo::FileMonitor* m_balooFileMonitor; Baloo::IndexerConfig m_balooConfig; -- cgit v1.3.1