Changeset View
Changeset View
Standalone View
Standalone View
src/baloo/localbaloofilelisting.cpp
Show All 14 Lines | |||||
15 | * along with this program. If not, see <https://www.gnu.org/licenses/>. | 15 | * along with this program. If not, see <https://www.gnu.org/licenses/>. | ||
16 | */ | 16 | */ | ||
17 | 17 | | |||
18 | #include "localbaloofilelisting.h" | 18 | #include "localbaloofilelisting.h" | ||
19 | 19 | | |||
20 | #include "baloo/baloocommon.h" | 20 | #include "baloo/baloocommon.h" | ||
21 | 21 | | |||
22 | #include "musicaudiotrack.h" | 22 | #include "musicaudiotrack.h" | ||
23 | #include "notificationitem.h" | | |||
24 | #include "elisa_settings.h" | 23 | #include "elisa_settings.h" | ||
25 | #include "elisautils.h" | 24 | #include "elisautils.h" | ||
26 | 25 | | |||
27 | #include "baloo/scheduler.h" | 26 | #include "baloo/scheduler.h" | ||
28 | #include "baloo/fileindexer.h" | 27 | #include "baloo/fileindexer.h" | ||
29 | #include "baloo/main.h" | 28 | #include "baloo/main.h" | ||
30 | 29 | | |||
31 | #include "baloowatcherapplicationadaptor.h" | 30 | #include "baloowatcherapplicationadaptor.h" | ||
▲ Show 20 Lines • Show All 80 Lines • ▼ Show 20 Line(s) | 92 | { | |||
112 | 111 | | |||
113 | if (sessionBus.interface()->isServiceRegistered(QStringLiteral("org.kde.baloo"))) { | 112 | if (sessionBus.interface()->isServiceRegistered(QStringLiteral("org.kde.baloo"))) { | ||
114 | registerToBaloo(); | 113 | registerToBaloo(); | ||
115 | } | 114 | } | ||
116 | } | 115 | } | ||
117 | 116 | | |||
118 | LocalBalooFileListing::~LocalBalooFileListing() | 117 | LocalBalooFileListing::~LocalBalooFileListing() | ||
119 | { | 118 | { | ||
120 | Q_EMIT closeNotification(QStringLiteral("balooInvalidConfiguration")); | | |||
121 | } | 119 | } | ||
122 | 120 | | |||
123 | void LocalBalooFileListing::applicationAboutToQuit() | 121 | void LocalBalooFileListing::applicationAboutToQuit() | ||
124 | { | 122 | { | ||
125 | AbstractFileListing::applicationAboutToQuit(); | 123 | AbstractFileListing::applicationAboutToQuit(); | ||
126 | d->mStopRequest = 1; | 124 | d->mStopRequest = 1; | ||
127 | } | 125 | } | ||
128 | 126 | | |||
▲ Show 20 Lines • Show All 301 Lines • Show Last 20 Lines |