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

superkaramba

SkAppletScript Class Reference

#include <skappletscript.h>

Inheritance diagram for SkAppletScript:

Inheritance graph
[legend]

List of all members.


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]

Destructor.

Definition at line 59 of file skappletscript.cpp.


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.

QList< QAction * > SkAppletScript::contextualActions (  )  [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.

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

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