• Skip to content
  • Skip to link menu
KDE 4.1 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

Plasma

ServiceRunner Class Reference

#include <servicerunner.h>

Inheritance diagram for ServiceRunner:

Inheritance graph
[legend]

List of all members.


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.


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)

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 139 of file servicerunner.cpp.

void ServiceRunner::setupAction ( const KService::Ptr &  service,
Plasma::QueryMatch &  action 
) [protected]

Definition at line 149 of file servicerunner.cpp.


The documentation for this class was generated from the following files:
  • servicerunner.h
  • servicerunner.cpp

Plasma

Skip menu "Plasma"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

API Reference

Skip menu "API Reference"
  • KWin
  •   KWin Libraries
  • Libraries
  •   libkworkspace
  •   libplasma
  •   libsolidcontrol
  •   libtaskmanager
  • Plasma
  •   Animators
  •   Applets
  •   Engines
  • Solid Modules
Generated for API Reference by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal