Changeset View
Changeset View
Standalone View
Standalone View
src/urifilters/shorturi/kshorturifilter.cpp
Show First 20 Lines • Show All 562 Lines • ▼ Show 20 Line(s) | 561 | { | |||
---|---|---|---|---|---|
563 | if (type > -1 && type <= KUriFilterData::Unknown) | 563 | if (type > -1 && type <= KUriFilterData::Unknown) | ||
564 | m_urlHints.append( URLHint(it.value(), protocol, static_cast<KUriFilterData::UriTypes>(type) ) ); | 564 | m_urlHints.append( URLHint(it.value(), protocol, static_cast<KUriFilterData::UriTypes>(type) ) ); | ||
565 | else | 565 | else | ||
566 | m_urlHints.append( URLHint(it.value(), protocol) ); | 566 | m_urlHints.append( URLHint(it.value(), protocol) ); | ||
567 | } | 567 | } | ||
568 | } | 568 | } | ||
569 | } | 569 | } | ||
570 | 570 | | |||
571 | K_PLUGIN_FACTORY(KShortUriFilterFactory, registerPlugin<KShortUriFilter>();) | 571 | K_PLUGIN_FACTORY_WITH_JSON(KShortUriFilterFactory, "kshorturifilter.json", registerPlugin<KShortUriFilter>();) | ||
572 | 572 | | |||
573 | #include "kshorturifilter.moc" | 573 | #include "kshorturifilter.moc" |