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

Applets

SystemTray::FdoTask

SystemTray::FdoTask Class Reference

#include <fdotask.h>

Inheritance diagram for SystemTray::FdoTask:

Inheritance graph
[legend]

List of all members.


Signals

void taskDeleted (WId winId)

Public Member Functions

 FdoTask (WId winId)
virtual QIcon icon () const
virtual bool isEmbeddable () const
virtual QString name () const
virtual QString typeId () const
virtual ~FdoTask ()

Protected Member Functions

virtual QGraphicsWidget * createWidget (Plasma::Applet *applet)

Detailed Description

Definition at line 31 of file fdotask.h.


Constructor & Destructor Documentation

SystemTray::FdoTask::FdoTask ( WId  winId  ) 

Definition at line 57 of file fdotask.cpp.

SystemTray::FdoTask::~FdoTask (  )  [virtual]

Definition at line 63 of file fdotask.cpp.


Member Function Documentation

QGraphicsWidget * SystemTray::FdoTask::createWidget ( Plasma::Applet *  host  )  [protected, virtual]

Called when a new widget is required.

Subclasses should implement this to return a graphics widget that handles all user interaction with the task. Ownership of the created widget is handled automatically so subclasses should not delete the created widget.

Implements SystemTray::Task.

Definition at line 94 of file fdotask.cpp.

QIcon SystemTray::FdoTask::icon (  )  const [virtual]

Returns an icon that can be associated with this task.

The icon returned is not necessarily the same icon that appears in the tray icon itself.

Implements SystemTray::Task.

Definition at line 88 of file fdotask.cpp.

bool SystemTray::FdoTask::isEmbeddable (  )  const [virtual]

Returns whether this task can be embeddable.

Depending on the protocol, there may be circumstances under which a new widget can not be created. isEmbeddable() will return false under these circumstances.

Implements SystemTray::Task.

Definition at line 70 of file fdotask.cpp.

QString SystemTray::FdoTask::name (  )  const [virtual]

Returns the name of this task that should be presented to the user.

Implements SystemTray::Task.

Definition at line 76 of file fdotask.cpp.

void SystemTray::FdoTask::taskDeleted ( WId  winId  )  [signal]

QString SystemTray::FdoTask::typeId (  )  const [virtual]

Returns a unique identifier for this task.

The identifier is valid between restarts and so is safe to save

Implements SystemTray::Task.

Definition at line 82 of file fdotask.cpp.


The documentation for this class was generated from the following files:
  • fdotask.h
  • fdotask.cpp

Applets

Skip menu "Applets"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

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