┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/kitemviews/kfileitemmodel.h
diff options
context:
space:
mode:
authorMéven Car <[email protected]>2021-04-24 09:00:31 +0000
committerMéven Car <[email protected]>2021-04-24 09:00:31 +0000
commit6cec386192e58089b4572996a265c9696cdcb3c0 (patch)
tree4a32fc3ac2feef856774247d01c0f3d13cb4209c /src/kitemviews/kfileitemmodel.h
parent020ba2c3fc94336545f6b8d7c13c9a615000482a (diff)
InformationPanel: Allow to refresh the panel when its displayed content changes
BUG: 430095 BUG: 412902 FIXED-IN: 21.08
Diffstat (limited to 'src/kitemviews/kfileitemmodel.h')
-rw-r--r--src/kitemviews/kfileitemmodel.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/kitemviews/kfileitemmodel.h b/src/kitemviews/kfileitemmodel.h
index 886a1c6de..acf4b761c 100644
--- a/src/kitemviews/kfileitemmodel.h
+++ b/src/kitemviews/kfileitemmodel.h
@@ -245,6 +245,12 @@ Q_SIGNALS:
*/
void urlIsFileError(const QUrl& url);
+ /**
+ * It is emitted for files when they change and
+ * for dirs when files are added or removed.
+ */
+ void fileItemsChanged(const KFileItemList &changedFileItems);
+
protected:
void onGroupedSortingChanged(bool current) override;
void onSortRoleChanged(const QByteArray& current, const QByteArray& previous, bool resortItems = true) override;