Plasma
TasksEngine Class Reference
Tasks Data Engine. More...
#include <tasksengine.h>

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: