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

Plasma

TasksEngine Class Reference

Tasks Data Engine. More...

#include <tasksengine.h>

Inheritance diagram for TasksEngine:

Inheritance graph
[legend]

List of all members.


Public Member Functions

Plasma::Service * serviceForSource (const QString &name)
 TasksEngine (QObject *parent, const QVariantList &args)
 ~TasksEngine ()

Protected Member Functions

virtual void init ()

Static Protected Member Functions

static const QString getStartupName (StartupPtr startup)
static const QString getTaskName (TaskPtr task)

Detailed Description

Tasks Data Engine.

This engine provides information regarding tasks (windows that are currently open) as well as startup tasks (windows that are about to open). Each task and startup is represented by a unique source. Sources are added and removed as windows are opened and closed. You cannot request a customized source.

A service is also provided for each task. It exposes some operations that can be performed on the windows (ex: maximize, minimize, activate).

The data and operations are provided and handled by the taskmanager library. It should be noted that only a subset of data and operations are exposed.

Definition at line 45 of file tasksengine.h.


Constructor & Destructor Documentation

TasksEngine::TasksEngine ( QObject *  parent,
const QVariantList &  args 
)

Definition at line 24 of file tasksengine.cpp.

TasksEngine::~TasksEngine (  ) 

Definition at line 30 of file tasksengine.cpp.


Member Function Documentation

const QString TasksEngine::getStartupName ( StartupPtr  startup  )  [static, protected]

Definition at line 51 of file tasksengine.cpp.

const QString TasksEngine::getTaskName ( TaskPtr  task  )  [static, protected]

Definition at line 56 of file tasksengine.cpp.

void TasksEngine::init (  )  [protected, virtual]

Definition at line 61 of file tasksengine.cpp.

Plasma::Service * TasksEngine::serviceForSource ( const QString &  name  ) 

Definition at line 34 of file tasksengine.cpp.


The documentation for this class was generated from the following files:
  • tasksengine.h
  • tasksengine.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
  •   libsolidcontrol
  •   libtaskmanager
  • Plasma
  •   Animators
  •   Applets
  •   Engines
  • Solid Modules
Generated for API Reference by doxygen 1.5.7
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