Changeset View
Changeset View
Standalone View
Standalone View
src/urifilters/ikws/kurisearchfilter.cpp
Show All 27 Lines | |||||
28 | #include <klocalizedstring.h> | 28 | #include <klocalizedstring.h> | ||
29 | #include <kaboutdata.h> | 29 | #include <kaboutdata.h> | ||
30 | 30 | | |||
31 | /** | 31 | /** | ||
32 | * IMPORTANT: If you change anything here, make sure you run the kurifiltertest | 32 | * IMPORTANT: If you change anything here, make sure you run the kurifiltertest | ||
33 | * regression test (this should be included as part of "make test"). | 33 | * regression test (this should be included as part of "make test"). | ||
34 | */ | 34 | */ | ||
35 | 35 | | |||
36 | K_PLUGIN_FACTORY(KUriSearchFilterFactory, registerPlugin<KUriSearchFilter>();) | 36 | K_PLUGIN_FACTORY_WITH_JSON(KUriSearchFilterFactory, "kurisearchfilter.json", registerPlugin<KUriSearchFilter>();) | ||
37 | 37 | | |||
38 | namespace { | 38 | namespace { | ||
39 | QLoggingCategory category("org.kde.kurifilter-ikws", QtWarningMsg); | 39 | QLoggingCategory category("org.kde.kurifilter-ikws", QtWarningMsg); | ||
40 | } | 40 | } | ||
41 | 41 | | |||
42 | KUriSearchFilter::KUriSearchFilter(QObject *parent, const QVariantList &) | 42 | KUriSearchFilter::KUriSearchFilter(QObject *parent, const QVariantList &) | ||
43 | :KUriFilterPlugin( QStringLiteral("kurisearchfilter"), parent ) | 43 | :KUriFilterPlugin( QStringLiteral("kurisearchfilter"), parent ) | ||
44 | { | 44 | { | ||
▲ Show 20 Lines • Show All 51 Lines • Show Last 20 Lines |