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

Applets

SystemTray::PlasmoidTask

SystemTray::PlasmoidTask Class Reference

#include <plasmoidtask.h>

Inheritance diagram for SystemTray::PlasmoidTask:

Inheritance graph
[legend]

List of all members.


Signals

void taskDeleted (QString typeId)

Public Member Functions

virtual QIcon icon () const
virtual bool isEmbeddable () const
bool isValid () const
virtual QString name () const
 PlasmoidTask (QString appletName)
virtual QString typeId () const
virtual ~PlasmoidTask ()

Protected Member Functions

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

Detailed Description

Definition at line 33 of file plasmoidtask.h.


Constructor & Destructor Documentation

SystemTray::PlasmoidTask::PlasmoidTask ( QString  appletName  ) 

Definition at line 56 of file plasmoidtask.cpp.

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

Definition at line 62 of file plasmoidtask.cpp.


Member Function Documentation

QGraphicsWidget * SystemTray::PlasmoidTask::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 97 of file plasmoidtask.cpp.

QIcon SystemTray::PlasmoidTask::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 91 of file plasmoidtask.cpp.

bool SystemTray::PlasmoidTask::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 69 of file plasmoidtask.cpp.

bool SystemTray::PlasmoidTask::isValid (  )  const

Definition at line 74 of file plasmoidtask.cpp.

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

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

Implements SystemTray::Task.

Definition at line 79 of file plasmoidtask.cpp.

void SystemTray::PlasmoidTask::taskDeleted ( QString  typeId  )  [signal]

QString SystemTray::PlasmoidTask::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 85 of file plasmoidtask.cpp.


The documentation for this class was generated from the following files:
  • plasmoidtask.h
  • plasmoidtask.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