1 | /* |
2 | This file is part of the KDE project |
3 | SPDX-FileCopyrightText: 1999 Simon Hausmann <hausmann@kde.org> |
4 | SPDX-FileCopyrightText: 2000 Yves Arrouye <yves@realnames.com> |
5 | SPDX-FileCopyrightText: 2002, 2003 Dawit Alemayehu <adawit@kde.org> |
6 | |
7 | SPDX-License-Identifier: GPL-2.0-or-later |
8 | */ |
9 | |
10 | #ifndef KURIIKWSFILTER_H |
11 | #define KURIIKWSFILTER_H |
12 | |
13 | #include "kurifilterplugin_p.h" |
14 | |
15 | class KAutoWebSearch : public KUriFilterPlugin |
16 | { |
17 | Q_OBJECT |
18 | public: |
19 | using KUriFilterPlugin::KUriFilterPlugin; |
20 | bool filterUri(KUriFilterData &) const override; |
21 | |
22 | private: |
23 | void populateProvidersList(QList<KUriFilterSearchProvider *> &searchProviders, const KUriFilterData &, bool allproviders = false) const; |
24 | }; |
25 | |
26 | #endif |
27 | |