libtaskmanager
Typedefs | |
typedef QHash< int, itemHashTable * > | desktopHashTable |
typedef QList< GroupPtr > | GroupList |
typedef TaskGroup * | GroupPtr |
typedef QHash< int, WindowList > | itemHashTable |
typedef QList < AbstractGroupableItem * > | ItemList |
typedef QSet< WId > | WindowList |
Enumerations | |
enum | GroupableAction { MaximizeAction = 0, MinimizeAction, ToCurrentDesktopAction, ToDesktopAction, ShadeAction, CloseAction, ViewFullscreenAction, KeepBelowAction, ToggleLauncherAction, NewInstanceAction } |
enum | GroupingAction { LeaveGroupAction = 0 } |
enum | ItemType { GroupItemType, LauncherItemType, TaskItemType } |
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, ActivitiesChanged = 4096, AttentionChanged = 8192, ClassChanged = 0x4000, EverythingChanged = 0xffff } |
Functions | |
static QString | agiName (const AbstractGroupableItem *i) |
static QUrl | getServiceLauncherUrl (int pid, const QString &type, const QStringList &cmdRemovals=QStringList()) |
static KService::List | getServicesViaPid (int pid) |
static QString | qt_strippedText (QString s) |
QAction * | standardGroupableAction (GroupableAction action, AbstractGroupableItem *item, GroupManager *strategy, QObject *parent, int desktop) |
TASKMANAGER_EXPORT QAction * | standardGroupableAction (GroupableAction action, AbstractGroupableItem *item, QObject *parent=0, int desktop=0) |
QAction * | standardGroupingAction (GroupingAction action, AbstractGroupableItem *item, GroupManager *strategy, QObject *parent=0) |
QAction * | standardTaskAction (TaskAction action, TaskItem *task, QObject *parent=0) |
Variables | |
static const int | s_startupDefaultTimeout = 5 |
static const NET::Properties | windowInfoFlags |
static const NET::Properties2 | windowInfoFlags2 = NET::WM2WindowClass | NET::WM2AllowedActions |
Typedef Documentation
typedef QHash<int, itemHashTable*> TaskManager::desktopHashTable |
Definition at line 86 of file abstractsortingstrategy.h.
typedef QList<GroupPtr> TaskManager::GroupList |
Definition at line 49 of file abstractgroupableitem.h.
typedef TaskGroup* TaskManager::GroupPtr |
Definition at line 46 of file abstractgroupableitem.h.
typedef QHash<int, WindowList> TaskManager::itemHashTable |
Definition at line 85 of file abstractsortingstrategy.h.
typedef QList<AbstractGroupableItem *> TaskManager::ItemList |
Definition at line 48 of file abstractgroupableitem.h.
typedef QSet<WId> TaskManager::WindowList |
Definition at line 38 of file taskmanager.h.
Enumeration Type Documentation
Enumerator | |
---|---|
MaximizeAction | |
MinimizeAction | |
ToCurrentDesktopAction | |
ToDesktopAction | |
ShadeAction | |
CloseAction | |
ViewFullscreenAction | |
KeepBelowAction | |
ToggleLauncherAction | |
NewInstanceAction |
Definition at line 41 of file taskactions.h.
Enumerator | |
---|---|
LeaveGroupAction |
Definition at line 57 of file taskactions.h.
Enumerator | |
---|---|
GroupItemType | |
LauncherItemType | |
TaskItemType |
Definition at line 40 of file abstractgroupableitem.h.
Enumerator | |
---|---|
ResizeAction | |
MoveAction |
Definition at line 53 of file taskactions.h.
Definition at line 44 of file taskmanager.h.
Function Documentation
|
static |
Definition at line 37 of file desktopsortingstrategy.cpp.
|
static |
Definition at line 509 of file taskitem.cpp.
|
static |
Definition at line 460 of file taskitem.cpp.
Definition at line 126 of file taskactions.cpp.
QAction* TaskManager::standardGroupableAction | ( | GroupableAction | action, |
AbstractGroupableItem * | item, | ||
GroupManager * | strategy, | ||
QObject * | parent, | ||
int | desktop | ||
) |
Definition at line 56 of file taskactions.cpp.
TASKMANAGER_EXPORT QAction* TaskManager::standardGroupableAction | ( | GroupableAction | action, |
AbstractGroupableItem * | 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
TASKMANAGER_EXPORT QAction * TaskManager::TaskManager::standardGroupingAction | ( | GroupingAction | action, |
AbstractGroupableItem * | 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 112 of file taskactions.cpp.
TASKMANAGER_EXPORT 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 96 of file taskactions.cpp.
Variable Documentation
|
static |
Definition at line 64 of file taskmanager.cpp.
|
static |
Documentation copyright © 1996-2019 The KDE developers.
Generated on Thu Dec 12 2019 02:23:21 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.