┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/kitemviews/kfileitemmodelrolesupdater.h
diff options
context:
space:
mode:
authorOlivier Goffart <[email protected]>2015-09-07 17:47:53 +0200
committerOlivier Goffart <[email protected]>2015-11-04 14:21:39 +0100
commit800d5114cb1a9b7d5c874f382cc831b4f142469b (patch)
tree0a048d981b8d74db205e3e79751ca052cb330665 /src/kitemviews/kfileitemmodelrolesupdater.h
parent7b273bb4c66de0d2c4f53bcffa418839eb3b5972 (diff)
Use the new KOverlayIconPlugin interface from KIO::Widgets
REVIEW: 125675
Diffstat (limited to 'src/kitemviews/kfileitemmodelrolesupdater.h')
-rw-r--r--src/kitemviews/kfileitemmodelrolesupdater.h8
1 files changed, 8 insertions, 0 deletions
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;
@@ -184,6 +185,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
* that is not the case, \a startUpdating() is called.
@@ -334,6 +340,8 @@ private:
KDirectoryContentsCounter* m_directoryContentsCounter;
+ QList<KOverlayIconPlugin*> m_overlayIconsPlugin;
+
#ifdef HAVE_BALOO
Baloo::FileMonitor* m_balooFileMonitor;
Baloo::IndexerConfig m_balooConfig;