KRunner 5.109.0
Deprecated List
Member K_EXPORT_PLASMA_RUNNER
Since 5.72, use K_EXPORT_PLASMA_RUNNER_WITH_JSON(classname, jsonFile) instead
Member K_EXPORT_PLASMA_RUNNER_WITH_JSON
Since 5.88 use K_PLUGIN_CLASS_WITH_JSON instead
Member Plasma::AbstractRunner::AbstractRunner (QObject *parent, const QVariantList &args)
Since 5.77, use AbstractRunner(QObject *, const KPluginMetaData &, const QVariantList &)
Member Plasma::AbstractRunner::AbstractRunner (const KService::Ptr service, QObject *parent=nullptr)
Since 5.72, use AbstractRunner(const KPluginMetaData &, QObject *)
Member Plasma::AbstractRunner::action (const QString &id) const
Since 5.86, create the QAction instances manually and store them in a custom container instead
Member Plasma::AbstractRunner::actions () const
Since 5.86, create the QAction instances manually and store them in a custom container instead
Member Plasma::AbstractRunner::addAction (const QString &id, QAction *action)
Since 5.86, create the QAction instance manually
Member Plasma::AbstractRunner::addAction (const QString &id, const QIcon &icon, const QString &text)
Since 5.86 create the QAction instance manually
Member Plasma::AbstractRunner::categories () const
Since 5.76, feature is unused. You can still set the category property in the QueryMatch
Member Plasma::AbstractRunner::categoryIcon (const QString &category) const
Since 5.0, feature removed
Member Plasma::AbstractRunner::clearActions ()
Since 5.86, use a custom container to store the QAction instances instead
Member Plasma::AbstractRunner::createRunOptions (QWidget *widget)
Since 5.0, this feature has been defunct
Member Plasma::AbstractRunner::dataEngine (const QString &name) const
Since 5.73, DataEngines are deprecated, use e.g. a shared library to provide the data instead.
Member Plasma::AbstractRunner::defaultSyntax () const
Since 5.76, feature is unused.
Member Plasma::AbstractRunner::hasRunOptions ()
Since 5.0, this feature has been defunct
Member Plasma::AbstractRunner::ignoredTypes () const
This feature is deprecated
Member Plasma::AbstractRunner::metadata () const
since 5.72, use metaData(Plasma::RunnerReturnPluginMetaDataConstant) instead, see its API docs
Member Plasma::AbstractRunner::package () const
since 5.28, use KPackage::Package instead, no accessor in this class
Member Plasma::AbstractRunner::performMatch (Plasma::RunnerContext &context)
Since 5.81, use match(Plasma::RunnerContext &context) instead. This method contains logic to delay slow runners, which is now deprecated. Consequently you should call match(Plasma::RunnerContext &context) directly.
Member Plasma::AbstractRunner::removeAction (const QString &id)
Since 5.86, deprecated for lack of usage
Member Plasma::AbstractRunner::setDefaultSyntax (const RunnerSyntax &syntax)
Since 5.76, feature is unused. Use addSyntax() instead.
Member Plasma::AbstractRunner::setHasRunOptions (bool hasRunOptions)
Since 5.0, this feature has been defunct
Member Plasma::AbstractRunner::setIgnoredTypes (RunnerContext::Types types)
feature is deprecated. Consider using the minLetterCount and matchRegex properties instead. These properties also prevent thread spawning, but can be used far more precise. If you want to have this kind of optimization for older KRunner versions you could wrap this inside of an version if statement:
Member Plasma::AbstractRunner::setSpeed (Speed newSpeed)
Since 5.81, the concept of delayed runners is deprecated. If you have resource or memory intensive tasks consider porting the runner to a D-Bus runner. Otherwise you can set the priority of the runner to LowPriority and implement the wait using a QTimer and an event loop. It is important to check if the RunnerContext is still valid after the waiting interval.