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

libtaskmanager

TaskManager::ProgramGroupingStrategy

TaskManager::ProgramGroupingStrategy Class Reference

Groups tasks of the same program. More...

#include <programgroupingstrategy.h>

Inheritance diagram for TaskManager::ProgramGroupingStrategy:

Inheritance graph
[legend]

List of all members.


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:
  • programgroupingstrategy.h
  • programgroupingstrategy.cpp

libtaskmanager

Skip menu "libtaskmanager"
  • 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
  •   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