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

libplasma

Plasma::ServiceJob

Plasma::ServiceJob Class Reference

#include <servicejob.h>

Inheritance diagram for Plasma::ServiceJob:

Inheritance graph
[legend]

List of all members.


Detailed Description

This class provides jobs for use with Plasma::Service.

Definition at line 36 of file servicejob.h.


Public Member Functions

QString destination () const
QString operationName () const
QMap< QString, QVariant > parameters () const
QVariant result () const
 ServiceJob (const QString &destination, const QString &operation, const QMap< QString, QVariant > &parameters, QObject *parent=0)
 ~ServiceJob ()

Protected Member Functions

void setResult (const QVariant &result)

Constructor & Destructor Documentation

Plasma::ServiceJob::ServiceJob ( const QString &  destination,
const QString &  operation,
const QMap< QString, QVariant > &  parameters,
QObject *  parent = 0 
)

Default constructor.

  • parent the parent object for this service

Definition at line 40 of file servicejob.cpp.

Plasma::ServiceJob::~ServiceJob (  ) 

Destructor.

Definition at line 47 of file servicejob.cpp.


Member Function Documentation

QString Plasma::ServiceJob::destination (  )  const

Returns:
the destination, if any, that this service is associated with

Definition at line 52 of file servicejob.cpp.

QString Plasma::ServiceJob::operationName (  )  const

Returns:
the operation this job should perform

Definition at line 57 of file servicejob.cpp.

QMap< QString, QVariant > Plasma::ServiceJob::parameters (  )  const

Returns:
the parameters for the job

Definition at line 62 of file servicejob.cpp.

QVariant Plasma::ServiceJob::result (  )  const

Returns:
the resulting value from the operation

Definition at line 67 of file servicejob.cpp.

void Plasma::ServiceJob::setResult ( const QVariant &  result  )  [protected]

Sets the result for an operation.

Definition at line 72 of file servicejob.cpp.


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

libplasma

Skip menu "libplasma"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

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