libtaskmanager
TaskManager::ProgramGroupingStrategy Class Reference
Groups tasks of the same program. More...
#include <programgroupingstrategy.h>

Public Member Functions | |
EditableGroupProperties | editableGroupProperties () |
void | handleItem (AbstractItemPtr) |
ProgramGroupingStrategy (GroupManager *groupManager) | |
QList< QAction * > | strategyActions (QObject *parent, AbstractGroupableItem *item) |
~ProgramGroupingStrategy () | |
Protected Slots | |
void | checkGroup () |
Detailed Description
Groups tasks of the same program.Definition at line 38 of file programgroupingstrategy.h.
Constructor & Destructor Documentation
TaskManager::ProgramGroupingStrategy::ProgramGroupingStrategy | ( | GroupManager * | groupManager | ) |
Definition at line 51 of file programgroupingstrategy.cpp.
TaskManager::ProgramGroupingStrategy::~ProgramGroupingStrategy | ( | ) |
Definition at line 59 of file programgroupingstrategy.cpp.
Member Function Documentation
void TaskManager::ProgramGroupingStrategy::checkGroup | ( | ) | [protected, virtual, slot] |
Checks if the group is still necessary.
Reimplemented from TaskManager::AbstractGroupingStrategy.
Definition at line 176 of file programgroupingstrategy.cpp.
EditableGroupProperties TaskManager::ProgramGroupingStrategy::editableGroupProperties | ( | ) | [inline, virtual] |
Returns which group properties are editable by the user and which are handled solely by the strategy.
The visualization should create a configuration interface based on this.
Implements TaskManager::AbstractGroupingStrategy.
Definition at line 53 of file programgroupingstrategy.h.
void TaskManager::ProgramGroupingStrategy::handleItem | ( | AbstractItemPtr | item | ) | [virtual] |
Tasks are passed to this function to be grouped by this strategy.
Implements TaskManager::AbstractGroupingStrategy.
Definition at line 117 of file programgroupingstrategy.cpp.
QList< QAction * > TaskManager::ProgramGroupingStrategy::strategyActions | ( | QObject * | parent, | |
AbstractGroupableItem * | item | |||
) | [virtual] |
Returns list of actions that a task can do in this groupingStrategy fore example: start/stop group tasks of this program.
Reimplemented from TaskManager::AbstractGroupingStrategy.
Definition at line 64 of file programgroupingstrategy.cpp.
The documentation for this class was generated from the following files: