From 6cec386192e58089b4572996a265c9696cdcb3c0 Mon Sep 17 00:00:00 2001 From: Méven Car Date: Sat, 24 Apr 2021 09:00:31 +0000 Subject: InformationPanel: Allow to refresh the panel when its displayed content changes BUG: 430095 BUG: 412902 FIXED-IN: 21.08 --- src/dolphinmainwindow.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'src/dolphinmainwindow.h') diff --git a/src/dolphinmainwindow.h b/src/dolphinmainwindow.h index 396afbd90..f351cc992 100644 --- a/src/dolphinmainwindow.h +++ b/src/dolphinmainwindow.h @@ -15,6 +15,10 @@ #include #include +#ifdef HAVE_BALOO + #include "panels/information/informationpanel.h" +#endif + #include #include #include @@ -192,6 +196,12 @@ Q_SIGNALS: */ void requestItemInfo(const KFileItem& item); + /** + * It is emitted when in the current view, files are changed, + * or dirs have files/removed from them. + */ + void fileItemsChanged(const KFileItemList &changedFileItems); + /** * Is emitted if the settings have been changed. */ @@ -656,7 +666,6 @@ private: QMetaObject::Connection m_updateHistoryConnection; QMenu m_searchTools; - }; inline DolphinViewContainer* DolphinMainWindow::activeViewContainer() const -- cgit v1.3