superkaramba
#include <skappletadaptor.h>

Public Slots | |
| QObject * | addApplet (const QString &appletname, const QVariantList &args=QVariantList(), const QRectF &geometry=QRectF(-1,-1,-1,-1)) |
| QObject * | applet (int index) |
| int | appletCount () |
Public Slots inherited from SkAppletAdaptor | |
| QRectF | boundingRect () |
| QString | category () const |
| QObject * | dataEngine (const QString &name) |
| QRectF | geometry () const |
| bool | isPainterEnabled () |
| QString | name () const |
| void | resize (const QSizeF &size) |
| void | setGeometry (const QRectF &geom) |
| void | setPainterEnabled (bool enabled) |
Public Member Functions | |
| SkContainmentAdaptor (Karamba *karamba, Plasma::Containment *containment) | |
| virtual | ~SkContainmentAdaptor () |
| Plasma::Containment * | containment () const |
Public Member Functions inherited from SkAppletAdaptor | |
| SkAppletAdaptor (Karamba *karamba, Plasma::Applet *applet) | |
| virtual | ~SkAppletAdaptor () |
| void | paintInterface (QPainter *painter, const QStyleOptionGraphicsItem *option, const QRect &rect) |
Additional Inherited Members | |
Signals inherited from SkAppletAdaptor | |
| void | paint (QObject *painter, const QRect &rect) |
| void | showConfigurationInterface () |
Protected Attributes inherited from SkAppletAdaptor | |
| Plasma::Applet * | m_applet |
| QHash< QString, PlasmaSensor * > | m_engines |
| Karamba * | m_karamba |
| bool | m_painterenabled |
Detailed Description
The SkContainmentAdaptor class extends the SkAppletAdaptor class to implements an adaptor for Plasma::Containment objects.
Definition at line 258 of file skappletadaptor.h.
Constructor & Destructor Documentation
|
inline |
Definition at line 262 of file skappletadaptor.h.
|
inlinevirtual |
Definition at line 267 of file skappletadaptor.h.
Member Function Documentation
|
inlineslot |
Adds an applet to this Containment.
The chosen name is the plugin name for the applet, as given by KPluginInfo::pluginName() while the args are the optional arguments passed to the applet and geometry is where to place the applet, or to auto-place it if an invalid position is provided.
Definition at line 298 of file skappletadaptor.h.
|
inlineslot |
Return the applet with the defined index or NULL if there is no such applet within this containment.
Definition at line 280 of file skappletadaptor.h.
|
inlineslot |
Return the number of applets within this containment.
Definition at line 274 of file skappletadaptor.h.
|
inline |
Definition at line 268 of file skappletadaptor.h.
The documentation for this class was generated from the following file:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:07:20 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
KDE API Reference
Public Slots inherited from