Baloo Widgets

metadatafilter.h
1/*
2 SPDX-FileCopyrightText: 2012 Vishesh Handa <me@vhanda.in>
3
4 SPDX-License-Identifier: LGPL-2.1-or-later
5*/
6
7#ifndef _BALOO_METADATAFILTER_H
8#define _BALOO_METADATAFILTER_H
9
10#include <QVariant>
11
12namespace Baloo
13{
14class Variant;
15
16class MetadataFilter : public QObject
17{
18public:
19 explicit MetadataFilter(QObject *parent = nullptr);
20 ~MetadataFilter() override;
21
22 /**
23 * Takes all the data by the provider and filters the data
24 * according to 'baloofileinformationrc' config
25 * This acts as a filter and a data aggregator
26 */
27 QVariantMap filter(const QVariantMap &data);
28
29private:
30 /**
31 * Initializes the configuration file "kmetainformationrc"
32 * with proper default settings for the first start in
33 * an uninitialized environment.
34 */
35 void initMetaInformationSettings();
36};
37}
38
39#endif // _BALOO_METADATAFILTER_H
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri May 24 2024 12:00:13 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.