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

superkaramba

Public Slots | Public Member Functions | List of all members
SkContainmentAdaptor Class Reference

#include <skappletadaptor.h>

Inheritance diagram for SkContainmentAdaptor:
Inheritance graph
[legend]

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

SkContainmentAdaptor::SkContainmentAdaptor ( Karamba *  karamba,
Plasma::Containment *  containment 
)
inline

Definition at line 262 of file skappletadaptor.h.

virtual SkContainmentAdaptor::~SkContainmentAdaptor ( )
inlinevirtual

Definition at line 267 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) 
)
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.

QObject* SkContainmentAdaptor::applet ( int  index)
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.

int SkContainmentAdaptor::appletCount ( )
inlineslot

Return the number of applets within this containment.

Definition at line 274 of file skappletadaptor.h.

Plasma::Containment* SkContainmentAdaptor::containment ( ) const
inline

Definition at line 268 of file skappletadaptor.h.


The documentation for this class was generated from the following file:
  • skappletadaptor.h
This file is part of the KDE documentation.
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.

superkaramba

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

kdeutils API Reference

Skip menu "kdeutils API Reference"
  • ark
  • filelight
  • kcalc
  • kcharselect
  • kdf
  • kfloppy
  • kgpg
  • kremotecontrol
  • ktimer
  • kwallet
  • superkaramba
  • sweeper

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal