Skip to content
Commit 7830a5a0 authored by Jonathan Marten's avatar Jonathan Marten Committed by Stefano Crocco
Browse files

Port and update the Search Bar plugin

kDebug(), qDebug() -> qCDebug() with logging category
Use Qt5 signal connection syntax
No need to link with KDELibs4Support
KLocale -> QLocale
QUrl::addQueryItem() -> QUrlQuery
QWeakPointer -> QPointer
QFontMetrics::width() -> horizontalAdvance()
Warning regarding deprecated QScriptEngine

Using a QWeakPointer as a tracked pointer to a QObject is now
deprecated as obsolete, so the most appropriate type to use for
maintaining a reference to the associated KPart would seem to
be a QPointer.
parent f4137b33
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment