superkaramba
#include <skappletscript.h>
Inherits AppletScript.
Public Slots | |
virtual void | showConfigurationInterface () |
Public Member Functions | |
SkAppletScript (QObject *parent, const QVariantList &args) | |
virtual | ~SkAppletScript () |
virtual void | constraintsEvent (Plasma::Constraints constraints) |
virtual QList< QAction * > | contextualActions () |
virtual bool | init () |
virtual void | paintInterface (QPainter *painter, const QStyleOptionGraphicsItem *option, const QRect &contentsRect) |
Detailed Description
The SkAppletScript class implements a Plasma::AppletScript to implement a Plasma::ScriptEngine for SuperKaramba.
Definition at line 35 of file skappletscript.h.
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 53 of file skappletscript.cpp.
|
virtual |
Destructor.
Definition at line 60 of file skappletscript.cpp.
Member Function Documentation
|
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.
|
virtual |
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.
|
virtual |
Called when it is safe to initialize the internal state.
Definition at line 66 of file skappletscript.cpp.
|
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.
|
virtualslot |
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:
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.