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

libtaskmanager

TaskManager Namespace Reference


Classes

class  AbstractGroupableItem
 Abstract Class for an Item that is groupable So groups can handle tasks and subgroups the same way. More...
class  AbstractGroupingStrategy
 Base class for strategies which can be used to automatically group tasks. More...
class  AbstractSortingStrategy
 Base class for strategies which can be used to automatically sort tasks. More...
class  AdvancedMenu
 The Advanced menu. More...
class  AlphaSortingStrategy
 Sorts the tasks alphabetically by programname found in Task::classClass(). More...
class  BasicMenu
 The standard menu. More...
class  DesktopsMenu
 The ToDesktop menu. More...
class  DesktopSortingStrategy
 Sorts the tasks by desktop. More...
class  GroupingStrategyMenu
 Menu with the actions that the groupingStrategy provides. More...
class  GroupManager
 Manages the grouping stuff. More...
class  GroupPopupMenu
 A Menu that shows a list of all tasks of the group, and shows a BasicMenu on right click on an item. More...
class  ManualGroupingStrategy
 Remembers manually grouped tasks To do this it keeps an exact copy of the rootGroup and all subgroups for each desktop/screen. More...
class  ManualSortingStrategy
 Manual Sorting If showAllDesktops is enabled the position of the tasks logically changes on all desktops If showAllDesktops is disabled the position only changes per virtual desktop even if the task is on all desktops. More...
class  ProgramGroupingStrategy
 Groups tasks of the same program. More...
class  Startup
 Represents a task which is in the process of starting. More...
class  Task
 A dynamic interface to a task (main window). More...
class  TaskGroup
 TaskGroup, a container for tasks and subgroups. More...
class  TaskGroupTemplate
 TaskGroup, a container for tasks and subgroups. More...
class  TaskItem
 Wrapper class so we do not have to use the Task class directly and the TaskPtr remains guarded. More...
class  TaskManager
 A generic API for task managers. More...

Typedefs

typedef AbstractGroupableItem * AbstractItemPtr
typedef QHash< int,
itemHashTable * > 
desktopHashTable
typedef QList< GroupPtr > GroupList
typedef TaskGroup * GroupPtr
typedef QHash
< AbstractGroupableItem *, int > 
itemHashTable
typedef QList< AbstractItemPtr > ItemList
typedef QVector< StartupPtr > StartupList
typedef KSharedPtr< Startup > StartupPtr
typedef QHash< WId, TaskPtr > TaskDict
typedef QVector< TaskPtr > TaskList
typedef KSharedPtr< Task > TaskPtr
typedef QSet< WId > WindowList

Enumerations

enum  GroupableAction {
  MaximizeAction = 0, MinimizeAction, ToCurrentDesktopAction, ToDesktopAction,
  ShadeAction, CloseAction, ViewFullscreenAction, KeepBelowAction
}
enum  GroupingAction { LeaveGroupAction = 0 }
enum  TaskAction { ResizeAction = 0, MoveAction }
enum  TaskChange {
  TaskUnchanged = 0, NameChanged = 1, StateChanged = 2, DesktopChanged = 32,
  GeometryChanged = 64, WindowTypeChanged = 128, ActionsChanged = 256, TransientsChanged = 512,
  IconChanged = 1024, ColorChanged = 2048, EverythingChanged = 0xffff
}

Functions

QAction * standardGroupableAction (GroupableAction action, AbstractItemPtr item, QObject *parent=0, int desktop=0)
QAction * standardGroupingAction (GroupingAction action, AbstractItemPtr item, GroupManager *strategy, QObject *parent=0)
QAction * standardTaskAction (TaskAction action, TaskItem *task, QObject *parent=0)

Variables

static const unsigned long windowInfoFlags
static const unsigned long windowInfoFlags2 = NET::WM2AllowedActions

Typedef Documentation

typedef AbstractGroupableItem* TaskManager::AbstractItemPtr

Definition at line 39 of file abstractgroupableitem.h.

typedef QHash<int, itemHashTable*> TaskManager::desktopHashTable

Definition at line 85 of file abstractsortingstrategy.h.

typedef QList<GroupPtr> TaskManager::GroupList

Definition at line 45 of file abstractgroupableitem.h.

typedef TaskGroup* TaskManager::GroupPtr

Definition at line 42 of file abstractgroupableitem.h.

typedef QHash<AbstractGroupableItem*, int> TaskManager::itemHashTable

Definition at line 84 of file abstractsortingstrategy.h.

typedef QList<AbstractItemPtr> TaskManager::ItemList

Definition at line 44 of file abstractgroupableitem.h.

typedef QVector<StartupPtr> TaskManager::StartupList

Definition at line 48 of file taskmanager.h.

typedef KSharedPtr<Startup> TaskManager::StartupPtr

Definition at line 46 of file taskmanager.h.

typedef QHash<WId, TaskPtr> TaskManager::TaskDict

Definition at line 44 of file taskmanager.h.

typedef QVector<TaskPtr> TaskManager::TaskList

Definition at line 43 of file taskmanager.h.

typedef KSharedPtr<Task> TaskManager::TaskPtr

Definition at line 41 of file taskmanager.h.

typedef QSet<WId> TaskManager::WindowList

Definition at line 39 of file taskmanager.h.


Enumeration Type Documentation

enum TaskManager::GroupableAction

Enumerator:
MaximizeAction 
MinimizeAction 
ToCurrentDesktopAction 
ToDesktopAction 
ShadeAction 
CloseAction 
ViewFullscreenAction 
KeepBelowAction 

Definition at line 41 of file taskactions.h.

enum TaskManager::GroupingAction

Enumerator:
LeaveGroupAction 

Definition at line 55 of file taskactions.h.

enum TaskManager::TaskAction

Enumerator:
ResizeAction 
MoveAction 

Definition at line 51 of file taskactions.h.

enum TaskManager::TaskChange

Enumerator:
TaskUnchanged 
NameChanged 
StateChanged 
DesktopChanged 
GeometryChanged 
WindowTypeChanged 
ActionsChanged 
TransientsChanged 
IconChanged 
ColorChanged 
EverythingChanged 

Definition at line 50 of file taskmanager.h.


Function Documentation

QAction * TaskManager::TaskManager::standardGroupableAction ( GroupableAction  action,
AbstractItemPtr  item,
QObject *  parent = 0,
int  desktop = 0 
)

Factory method to create standard actions for groupable items.

Parameters:
action the action to create
item the groupable item to associate it with
parent the parent for the action
desktop the desktop to associate the action with, only used for ToDesktopAction

Definition at line 44 of file taskactions.cpp.

QAction * TaskManager::TaskManager::standardGroupingAction ( GroupingAction  action,
AbstractItemPtr  item,
GroupManager *  strategy,
QObject *  parent = 0 
)

Factory method to create standard actions for groupable items.

Parameters:
action the action to create
item the groupable item to associate it with
strategy the GroupManager used to coorinate the grouping
parent the parent for the action

Definition at line 94 of file taskactions.cpp.

QAction * TaskManager::TaskManager::standardTaskAction ( TaskAction  action,
TaskItem *  task,
QObject *  parent = 0 
)

Factory method to create standard actions for groupable items.

Parameters:
action the action to create
task the task to associate it with
parent the parent for the action

Definition at line 78 of file taskactions.cpp.


Variable Documentation

const unsigned long TaskManager::windowInfoFlags [static]

Initial value:

 NET::WMState | NET::XAWMState | NET::WMDesktop |
                                             NET::WMVisibleName | NET::WMGeometry |
                                             NET::WMWindowType | NET::WM2AllowedActions

Definition at line 49 of file task.cpp.

const unsigned long TaskManager::windowInfoFlags2 = NET::WM2AllowedActions [static]

Definition at line 52 of file task.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