File indexing completed on 2024-05-12 15:42:12

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 KURISEARCHFILTER_H
0011 #define KURISEARCHFILTER_H
0012 
0013 #include <kurifilter.h>
0014 
0015 class KUriSearchFilter : public KUriFilterPlugin
0016 {
0017     Q_OBJECT
0018 public:
0019     explicit KUriSearchFilter(QObject *parent = nullptr, const QVariantList &args = QVariantList());
0020     ~KUriSearchFilter() override;
0021 
0022     bool filterUri(KUriFilterData &) const override;
0023     KCModule *configModule(QWidget *parent = nullptr, const char *name = nullptr) const override;
0024     QString configName() const override;
0025 
0026 public Q_SLOTS:
0027     void configure(); // maybe move to KUriFilterPlugin?
0028 };
0029 
0030 #endif