Engines
TaskSource Class Reference
Task Source. More...
#include <tasksource.h>
Inheritance diagram for TaskSource:

Public Member Functions | |
TaskSource (TaskPtr task, QObject *parent) | |
TaskSource (StartupPtr startup, QObject *parent) | |
~TaskSource () | |
Protected Member Functions | |
Plasma::Service * | createService () |
TaskPtr | getTask () |
bool | isTask () |
Detailed Description
Task Source.This custom DataContainer represents a task or startup task as a unique source. It holds a shared pointer to the task or startup task and is responsible for setting and updating the data exposed by the source.
Definition at line 37 of file tasksource.h.
Constructor & Destructor Documentation
TaskSource::TaskSource | ( | StartupPtr | startup, | |
QObject * | parent | |||
) |
Definition at line 25 of file tasksource.cpp.
TaskSource::TaskSource | ( | TaskPtr | task, | |
QObject * | parent | |||
) |
Definition at line 37 of file tasksource.cpp.
TaskSource::~TaskSource | ( | ) |
Definition at line 49 of file tasksource.cpp.
Member Function Documentation
Plasma::Service * TaskSource::createService | ( | ) | [protected] |
Definition at line 53 of file tasksource.cpp.
TaskPtr TaskSource::getTask | ( | ) | [protected] |
Definition at line 58 of file tasksource.cpp.
bool TaskSource::isTask | ( | ) | [protected] |
Definition at line 63 of file tasksource.cpp.
The documentation for this class was generated from the following files: