File indexing completed on 2024-04-28 03:55:43
0001 /* 0002 This file is part of the KDE project 0003 SPDX-FileCopyrightText: 1999 Simon Hausmann <hausmann@kde.org> 0004 SPDX-FileCopyrightText: 2000 Yves Arrouye <yves@realnames.com> 0005 SPDX-FileCopyrightText: 2002, 2003 Dawit Alemayehu <adawit@kde.org> 0006 0007 SPDX-License-Identifier: GPL-2.0-or-later 0008 */ 0009 0010 #ifndef KURIIKWSFILTER_H 0011 #define KURIIKWSFILTER_H 0012 0013 #include "kurifilterplugin_p.h" 0014 0015 class KAutoWebSearch : public KUriFilterPlugin 0016 { 0017 Q_OBJECT 0018 public: 0019 using KUriFilterPlugin::KUriFilterPlugin; 0020 bool filterUri(KUriFilterData &) const override; 0021 0022 private: 0023 void populateProvidersList(QList<KUriFilterSearchProvider *> &searchProviders, const KUriFilterData &, bool allproviders = false) const; 0024 }; 0025 0026 #endif