KNewStuff

tagsfilterchecker.h
1 /*
2  SPDX-FileCopyrightText: 2018 Dan Leinir Turthra Jensen <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.1-or-later
5 */
6 
7 #ifndef KNSCORE_TAGSFILTERCHECKER_H
8 #define KNSCORE_TAGSFILTERCHECKER_H
9 
10 #include <QStringList>
11 #include "knewstuffcore_export.h"
12 
13 namespace KNSCore {
14 
44 class KNEWSTUFFCORE_EXPORT TagsFilterChecker {
45 public:
53  TagsFilterChecker(const QStringList &tagFilter);
55 
56  TagsFilterChecker(const TagsFilterChecker &) = delete;
57  TagsFilterChecker& operator=(const TagsFilterChecker &) = delete;
58 
66  bool filterAccepts(const QStringList &tags);
67 
68 private:
69  class Private;
70  Private *d;
71 };
72 
73 }
74 
75 #endif//KNSCORE_TAGSFILTERCHECKER_H
Contains the core functionality for handling interaction with NewStuff providers. ...
Apply simple filtering logic to a list of tags.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Tue Aug 11 2020 22:43:23 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.