From 38bb5f1547e2a18d40a01fabf9b4478f5fe66130 Mon Sep 17 00:00:00 2001 From: Vishesh Handa Date: Mon, 6 May 2013 18:41:21 +0530 Subject: Dolphin Places: React to Nepomuk system changes Reload the places panel when Nepomuk starts up and shutsdown. This way the user does not need to restart Dolphin to see the custom searches and places after Nepomuk switches on. BUG: 304918 REVIEW: 110323 --- src/panels/places/placesitemmodel.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/panels/places/placesitemmodel.h') diff --git a/src/panels/places/placesitemmodel.h b/src/panels/places/placesitemmodel.h index e42187860..693836033 100644 --- a/src/panels/places/placesitemmodel.h +++ b/src/panels/places/placesitemmodel.h @@ -133,6 +133,7 @@ public: */ static KUrl convertedUrl(const KUrl& url); + virtual void clear(); signals: void errorMessage(const QString& message); void storageSetupDone(int index, bool success); @@ -163,6 +164,8 @@ private slots: */ void saveBookmarks(); + void slotNepomukStarted(); + void slotNepomukStopped(); private: struct SystemBookmarkData; -- cgit v1.3