Applets
WindowTaskItem Class Reference
A task item for a task which represents a window on the desktop. More...
#include <windowtaskitem.h>
Inheritance diagram for WindowTaskItem:

Public Slots | |
void | activate () |
void | close () |
Public Member Functions | |
virtual bool | isActive () const |
virtual bool | isWindowItem () const |
void | publishIconGeometry (const QRect &rect) const |
void | publishIconGeometry () const |
virtual void | setAdditionalMimeData (QMimeData *mimeData) |
void | setTask (TaskManager::TaskItem *taskItem) |
TaskManager::TaskPtr | windowTask () const |
WindowTaskItem (QGraphicsWidget *parent, Tasks *applet, const bool showTooltip) | |
Protected Member Functions | |
void | contextMenuEvent (QGraphicsSceneContextMenuEvent *event) |
void | mousePressEvent (QGraphicsSceneMouseEvent *event) |
void | updateToolTip () |
Detailed Description
A task item for a task which represents a window on the desktop.Definition at line 33 of file windowtaskitem.h.
Constructor & Destructor Documentation
WindowTaskItem::WindowTaskItem | ( | QGraphicsWidget * | parent, | |
Tasks * | applet, | |||
const bool | showTooltip | |||
) |
Constructs a new representation for a window task.
Definition at line 53 of file windowtaskitem.cpp.
Member Function Documentation
void WindowTaskItem::activate | ( | ) | [virtual, slot] |
Emitted when a window is selected for activation, minimization, iconification.
Implements AbstractTaskItem.
Definition at line 60 of file windowtaskitem.cpp.
void WindowTaskItem::close | ( | ) | [virtual, slot] |
void WindowTaskItem::contextMenuEvent | ( | QGraphicsSceneContextMenuEvent * | event | ) | [protected] |
Definition at line 257 of file windowtaskitem.cpp.
bool WindowTaskItem::isActive | ( | ) | const [virtual] |
bool WindowTaskItem::isWindowItem | ( | ) | const [virtual] |
void WindowTaskItem::mousePressEvent | ( | QGraphicsSceneMouseEvent * | event | ) | [protected] |
void WindowTaskItem::publishIconGeometry | ( | const QRect & | rect | ) | const [virtual] |
void WindowTaskItem::publishIconGeometry | ( | ) | const [virtual] |
Tells the window manager the minimized task's geometry.
Reimplemented from AbstractTaskItem.
Definition at line 101 of file windowtaskitem.cpp.
void WindowTaskItem::setAdditionalMimeData | ( | QMimeData * | mimeData | ) | [virtual] |
void WindowTaskItem::setTask | ( | TaskManager::TaskItem * | taskItem | ) |
Sets the window/startup represented by this task.
Definition at line 237 of file windowtaskitem.cpp.
void WindowTaskItem::updateToolTip | ( | ) | [protected, virtual] |
TaskManager::TaskPtr WindowTaskItem::windowTask | ( | ) | const |
The documentation for this class was generated from the following files: