Warning, file /libraries/baloo-widgets/src/metadatafilter.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 /* 0002 SPDX-FileCopyrightText: 2012 Vishesh Handa <me@vhanda.in> 0003 0004 SPDX-License-Identifier: LGPL-2.1-or-later 0005 */ 0006 0007 #ifndef _BALOO_METADATAFILTER_H 0008 #define _BALOO_METADATAFILTER_H 0009 0010 #include <QVariant> 0011 0012 namespace Baloo 0013 { 0014 class Variant; 0015 0016 class MetadataFilter : public QObject 0017 { 0018 public: 0019 explicit MetadataFilter(QObject *parent = nullptr); 0020 ~MetadataFilter() override; 0021 0022 /** 0023 * Takes all the data by the provider and filters the data 0024 * according to 'baloofileinformationrc' config 0025 * This acts as a filter and a data aggregator 0026 */ 0027 QVariantMap filter(const QVariantMap &data); 0028 0029 private: 0030 /** 0031 * Initializes the configuration file "kmetainformationrc" 0032 * with proper default settings for the first start in 0033 * an uninitialized environment. 0034 */ 0035 void initMetaInformationSettings(); 0036 }; 0037 } 0038 0039 #endif // _BALOO_METADATAFILTER_H