Changeset View
Changeset View
Standalone View
Standalone View
src/urifilters/ikws/kuriikwsfilter.cpp
Show All 40 Lines | |||||
41 | * regression test (this should be included as part of "make test"). | 41 | * regression test (this should be included as part of "make test"). | ||
42 | */ | 42 | */ | ||
43 | 43 | | |||
44 | K_PLUGIN_CLASS_WITH_JSON(KAutoWebSearch, "kuriikwsfilter.json") | 44 | K_PLUGIN_CLASS_WITH_JSON(KAutoWebSearch, "kuriikwsfilter.json") | ||
45 | 45 | | |||
46 | KAutoWebSearch::KAutoWebSearch(QObject *parent, const QVariantList &) | 46 | KAutoWebSearch::KAutoWebSearch(QObject *parent, const QVariantList &) | ||
47 | : KUriFilterPlugin(QStringLiteral("kuriikwsfilter"), parent) | 47 | : KUriFilterPlugin(QStringLiteral("kuriikwsfilter"), parent) | ||
48 | { | 48 | { | ||
49 | KLocalizedString::insertQtDomain("kurifilter"); | | |||
50 | QDBusConnection::sessionBus().connect(QString(), QStringLiteral("/"), QStringLiteral("org.kde.KUriFilterPlugin"), | 49 | QDBusConnection::sessionBus().connect(QString(), QStringLiteral("/"), QStringLiteral("org.kde.KUriFilterPlugin"), | ||
51 | QStringLiteral("configure"), this, SLOT(configure())); | 50 | QStringLiteral("configure"), this, SLOT(configure())); | ||
52 | } | 51 | } | ||
53 | 52 | | |||
54 | KAutoWebSearch::~KAutoWebSearch() | 53 | KAutoWebSearch::~KAutoWebSearch() | ||
55 | { | 54 | { | ||
56 | } | 55 | } | ||
57 | 56 | | |||
▲ Show 20 Lines • Show All 105 Lines • Show Last 20 Lines |