Plasma
ServiceRunner Class Reference
This class looks for matches in the set of .desktop files installed by applications. More...
#include <servicerunner.h>
Inheritance diagram for ServiceRunner:

Public Member Functions | |
void | match (Plasma::RunnerContext &context) |
void | run (const Plasma::RunnerContext &context, const Plasma::QueryMatch &action) |
ServiceRunner (QObject *parent, const QVariantList &args) | |
~ServiceRunner () | |
Protected Member Functions | |
void | setupAction (const KService::Ptr &service, Plasma::QueryMatch &action) |
Detailed Description
This class looks for matches in the set of .desktop files installed by applications.This way the user can type exactly what they see in the appications menu and have it start the appropriate app. Essentially anything that KService knows about, this runner can launch
Definition at line 37 of file servicerunner.h.
Constructor & Destructor Documentation
ServiceRunner::ServiceRunner | ( | QObject * | parent, | |
const QVariantList & | args | |||
) |
Definition at line 30 of file servicerunner.cpp.
ServiceRunner::~ServiceRunner | ( | ) |
Definition at line 39 of file servicerunner.cpp.
Member Function Documentation
void ServiceRunner::match | ( | Plasma::RunnerContext & | context | ) |
Definition at line 43 of file servicerunner.cpp.
void ServiceRunner::run | ( | const Plasma::RunnerContext & | context, | |
const Plasma::QueryMatch & | action | |||
) |
Definition at line 150 of file servicerunner.cpp.
void ServiceRunner::setupAction | ( | const KService::Ptr & | service, | |
Plasma::QueryMatch & | action | |||
) | [protected] |
Definition at line 160 of file servicerunner.cpp.
The documentation for this class was generated from the following files: