Changeset View
Changeset View
Standalone View
Standalone View
src/baloo/localbaloofilelisting.h
Show First 20 Lines • Show All 51 Lines • ▼ Show 20 Line(s) | 50 | public Q_SLOTS: | |||
---|---|---|---|---|---|
52 | void renamedFiles(const QString &from, const QString &to, const QStringList &listFiles); | 52 | void renamedFiles(const QString &from, const QString &to, const QStringList &listFiles); | ||
53 | 53 | | |||
54 | void serviceOwnerChanged(const QString &serviceName, const QString &oldOwner, const QString &newOwner); | 54 | void serviceOwnerChanged(const QString &serviceName, const QString &oldOwner, const QString &newOwner); | ||
55 | 55 | | |||
56 | void serviceRegistered(const QString &serviceName); | 56 | void serviceRegistered(const QString &serviceName); | ||
57 | 57 | | |||
58 | void serviceUnregistered(const QString &serviceName); | 58 | void serviceUnregistered(const QString &serviceName); | ||
59 | 59 | | |||
60 | void fixBalooConfiguration(); | | |||
61 | | ||||
62 | void disableBalooIndexer(); | | |||
63 | | ||||
64 | private Q_SLOTS: | 60 | private Q_SLOTS: | ||
65 | 61 | | |||
66 | void newBalooFile(const QString &fileName); | 62 | void newBalooFile(const QString &fileName); | ||
67 | 63 | | |||
68 | void registeredToBaloo(QDBusPendingCallWatcher *watcher); | 64 | void registeredToBaloo(QDBusPendingCallWatcher *watcher); | ||
69 | 65 | | |||
70 | void registeredToBalooWatcher(QDBusPendingCallWatcher *watcher); | 66 | void registeredToBalooWatcher(QDBusPendingCallWatcher *watcher); | ||
71 | 67 | | |||
72 | private: | 68 | private: | ||
73 | 69 | | |||
74 | void registerToBaloo(); | 70 | void registerToBaloo(); | ||
75 | 71 | | |||
76 | void executeInit(QHash<QUrl, QDateTime> allFiles) override; | 72 | void executeInit(QHash<QUrl, QDateTime> allFiles) override; | ||
77 | 73 | | |||
78 | void triggerRefreshOfContent() override; | 74 | void triggerRefreshOfContent() override; | ||
79 | 75 | | |||
80 | MusicAudioTrack scanOneFile(const QUrl &scanFile, const QFileInfo &scanFileInfo) override; | 76 | MusicAudioTrack scanOneFile(const QUrl &scanFile, const QFileInfo &scanFileInfo) override; | ||
81 | 77 | | |||
82 | bool checkBalooConfiguration(); | | |||
83 | | ||||
84 | std::unique_ptr<LocalBalooFileListingPrivate> d; | 78 | std::unique_ptr<LocalBalooFileListingPrivate> d; | ||
85 | 79 | | |||
86 | }; | 80 | }; | ||
87 | 81 | | |||
88 | #endif // LOCALBALOOFILELISTING_H | 82 | #endif // LOCALBALOOFILELISTING_H |