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

superkaramba

SkContainmentAdaptor Class Reference

#include <skappletadaptor.h>

Inheritance diagram for SkContainmentAdaptor:

Inheritance graph
[legend]

List of all members.


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:
  • skappletadaptor.h

superkaramba

Skip menu "superkaramba"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

kdeutils

Skip menu "kdeutils"
  • ark
  • kcalc
  • kcharselect
  • kdessh
  • kdf
  • kfloppy
  • kgpg
  • ktimer
  • kwallet
  • okteta
  • printer-applet
  • superkaramba
  • sweeper
Generated for kdeutils by doxygen 1.5.4
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