superkaramba
SkAppletScript Class Reference
#include <skappletscript.h>

Detailed Description
The SkAppletScript class implements a Plasma::AppletScript to implement a Plasma::ScriptEngine for SuperKaramba.Definition at line 35 of file skappletscript.h.
Public Slots | |
| virtual void | showConfigurationInterface () |
Public Member Functions | |
| virtual void | constraintsEvent (Plasma::Constraints constraints) |
| virtual QList< QAction * > | contextualActions () |
| virtual bool | init () |
| virtual void | paintInterface (QPainter *painter, const QStyleOptionGraphicsItem *option, const QRect &contentsRect) |
| SkAppletScript (QObject *parent, const QVariantList &args) | |
| virtual | ~SkAppletScript () |
Constructor & Destructor Documentation
| SkAppletScript::SkAppletScript | ( | QObject * | parent, | |
| const QVariantList & | args | |||
| ) |
Constructor.
- Parameters:
-
parent The parent QObject this QObject will be child of. args The optional list of arguments.
Definition at line 52 of file skappletscript.cpp.
| SkAppletScript::~SkAppletScript | ( | ) | [virtual] |
Member Function Documentation
| void SkAppletScript::constraintsEvent | ( | Plasma::Constraints | constraints | ) | [virtual] |
Called when any of the geometry constraints have been updated.
This is always called prior to painting and should be used as an opportunity to layout the widget, calculate sizings, etc.
Do not call update() from this method; an update() will be triggered at the appropriate time for the applet.
- Parameters:
-
constraints the type of constraints that were updated
Definition at line 275 of file skappletscript.cpp.
Returns a list of context-related QAction instances.
- Returns:
- A list of actions. The default implementation returns an empty list.
Definition at line 270 of file skappletscript.cpp.
| bool SkAppletScript::init | ( | ) | [virtual] |
Called when it is safe to initialize the internal state.
Definition at line 65 of file skappletscript.cpp.
| void SkAppletScript::paintInterface | ( | QPainter * | painter, | |
| const QStyleOptionGraphicsItem * | option, | |||
| const QRect & | contentsRect | |||
| ) | [virtual] |
Called when the applet should be painted.
- Parameters:
-
painter the QPainter to use option the style option containing such flags as selection, level of detail, etc contentsRect the rect to paint within; automatically adjusted for the background, if any
Definition at line 227 of file skappletscript.cpp.
| void SkAppletScript::showConfigurationInterface | ( | ) | [virtual, slot] |
Shows the configuration dialog for general SkAppletScript settings.
Definition at line 316 of file skappletscript.cpp.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference