From 1657216474020b9b345409f423d75ee34156e1d3 Mon Sep 17 00:00:00 2001 From: Eugene Popov Date: Mon, 13 Sep 2021 18:34:40 +0300 Subject: Fix updating window and tab titles This MR fixes an issue where the window and tab titles don't properly handle creating/deleting/renaming items in the places bar, as well as switching to the Search mode. --- src/dolphinviewcontainer.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/dolphinviewcontainer.h') diff --git a/src/dolphinviewcontainer.h b/src/dolphinviewcontainer.h index 1a92e1fa6..304c9958d 100644 --- a/src/dolphinviewcontainer.h +++ b/src/dolphinviewcontainer.h @@ -223,6 +223,12 @@ Q_SIGNALS: */ void writeStateChanged(bool isFolderWritable); + /** + * Is emitted when the Caption has been changed. + * @see DolphinViewContainer::caption() + */ + void captionChanged(); + private Q_SLOTS: /** * Updates the number of items (= number of files + number of @@ -349,6 +355,12 @@ private Q_SLOTS: */ void showErrorMessage(const QString& msg); + /** + * Is invoked when a KFilePlacesModel has been changed + * @see DolphinPlacesModelSingleton::instance().placesModel() + */ + void slotPlacesModelChanged(); + private: /** * @return True if the URL protocol is a search URL (e. g. baloosearch:// or filenamesearch://). -- cgit v1.3