superkaramba
SkContainmentAdaptor Class Reference
#include <skappletadaptor.h>

Detailed Description
The SkContainmentAdaptor class extends the SkAppletAdaptor class to implements an adaptor for Plasma::Containment objects.Definition at line 257 of file 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 Member Functions | |
| Plasma::Containment * | containment () const |
| SkContainmentAdaptor (Karamba *karamba, Plasma::Containment *containment) | |
| virtual | ~SkContainmentAdaptor () |
Constructor & Destructor Documentation
| SkContainmentAdaptor::SkContainmentAdaptor | ( | Karamba * | karamba, | |
| Plasma::Containment * | containment | |||
| ) | [inline] |
Definition at line 261 of file skappletadaptor.h.
| virtual SkContainmentAdaptor::~SkContainmentAdaptor | ( | ) | [inline, virtual] |
Definition at line 266 of file skappletadaptor.h.
Member Function Documentation
| QObject* SkContainmentAdaptor::addApplet | ( | const QString & | appletname, | |
| const QVariantList & | args = QVariantList(), |
|||
| const QRectF & | geometry = QRectF(-1, -1, -1, -1) | |||
| ) | [inline, slot] |
Adds an applet to this Containment.
The choosen 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 297 of file skappletadaptor.h.
| QObject* SkContainmentAdaptor::applet | ( | int | index | ) | [inline, slot] |
Return the applet with the defined index or NULL if there is no such applet within this containment.
Definition at line 279 of file skappletadaptor.h.
| int SkContainmentAdaptor::appletCount | ( | ) | [inline, slot] |
Return the number of applets within this containment.
Definition at line 273 of file skappletadaptor.h.
| Plasma::Containment* SkContainmentAdaptor::containment | ( | ) | const [inline] |
Definition at line 267 of file skappletadaptor.h.
The documentation for this class was generated from the following file:
KDE 4.2 API Reference