Changeset View
Changeset View
Standalone View
Standalone View
src/file/fileindexerconfig.h
Show All 21 Lines | |||||
22 | 22 | | |||
23 | #include <QObject> | 23 | #include <QObject> | ||
24 | #include <QList> | 24 | #include <QList> | ||
25 | #include <QSet> | 25 | #include <QSet> | ||
26 | 26 | | |||
27 | #include <kconfig.h> | 27 | #include <kconfig.h> | ||
28 | 28 | | |||
29 | #include "regexpcache.h" | 29 | #include "regexpcache.h" | ||
30 | #include "storagedevices.h" | ||||
30 | 31 | | |||
31 | namespace Baloo | 32 | namespace Baloo | ||
32 | { | 33 | { | ||
33 | 34 | | |||
34 | class StorageDevices; | 35 | class StorageDevices; | ||
35 | 36 | | |||
36 | /** | 37 | /** | ||
37 | * Active config class which emits signals if the config | 38 | * Active config class which emits signals if the config | ||
▲ Show 20 Lines • Show All 121 Lines • ▼ Show 20 Line(s) | 45 | public: | |||
159 | 160 | | |||
160 | bool indexingEnabled() const; | 161 | bool indexingEnabled() const; | ||
161 | 162 | | |||
162 | /** | 163 | /** | ||
163 | * Returns batch size | 164 | * Returns batch size | ||
164 | */ | 165 | */ | ||
165 | uint maxUncomittedFiles(); | 166 | uint maxUncomittedFiles(); | ||
166 | 167 | | |||
168 | StorageDevices* storageDevices(); | ||||
169 | | ||||
167 | public Q_SLOTS: | 170 | public Q_SLOTS: | ||
168 | /** | 171 | /** | ||
169 | * Reread the config from disk and update the configuration cache. | 172 | * Reread the config from disk and update the configuration cache. | ||
170 | * This is only required for testing as normally the config updates | 173 | * This is only required for testing as normally the config updates | ||
171 | * itself whenever the config file on disk changes. | 174 | * itself whenever the config file on disk changes. | ||
172 | * | 175 | * | ||
173 | * \return \c true if the config has actually changed | 176 | * \return \c true if the config has actually changed | ||
174 | */ | 177 | */ | ||
Show All 39 Lines |