Changeset View
Changeset View
Standalone View
Standalone View
src/metadatafilter.h
Show All 28 Lines | 26 | namespace Baloo { | |||
---|---|---|---|---|---|
29 | 29 | | |||
30 | class MetadataFilter : public QObject | 30 | class MetadataFilter : public QObject | ||
31 | { | 31 | { | ||
32 | public: | 32 | public: | ||
33 | explicit MetadataFilter(QObject* parent = 0); | 33 | explicit MetadataFilter(QObject* parent = 0); | ||
34 | virtual ~MetadataFilter(); | 34 | virtual ~MetadataFilter(); | ||
35 | 35 | | |||
36 | /** | 36 | /** | ||
37 | * Takes all the data by the provider and filters the data. | 37 | * Takes all the data by the provider and filters the data | ||
38 | * according to 'baloofileinformationrc' config | ||||
38 | * This acts as a filter and a data aggregator | 39 | * This acts as a filter and a data aggregator | ||
39 | */ | 40 | */ | ||
40 | QVariantMap filter(const QVariantMap& data); | 41 | QVariantMap filter(const QVariantMap& data); | ||
41 | private: | 42 | private: | ||
42 | /** | 43 | /** | ||
43 | * Initializes the configuration file "kmetainformationrc" | 44 | * Initializes the configuration file "kmetainformationrc" | ||
44 | * with proper default settings for the first start in | 45 | * with proper default settings for the first start in | ||
45 | * an uninitialized environment. | 46 | * an uninitialized environment. | ||
46 | */ | 47 | */ | ||
47 | void initMetaInformationSettings(); | 48 | void initMetaInformationSettings(); | ||
48 | }; | 49 | }; | ||
49 | } | 50 | } | ||
50 | 51 | | |||
51 | #endif // _BALOO_METADATAFILTER_H | 52 | #endif // _BALOO_METADATAFILTER_H |