• 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
SkAppletScript Class Reference

#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
parentThe parent QObject this QObject will be child of.
argsThe optional list of arguments.

Definition at line 53 of file skappletscript.cpp.

SkAppletScript::~SkAppletScript ( )
virtual

Destructor.

Definition at line 60 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
constraintsthe 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 66 of file skappletscript.cpp.

void SkAppletScript::paintInterface ( QPainter *  painter,
const QStyleOptionGraphicsItem *  option,
const QRect &  contentsRect 
)
virtual

Called when the applet should be painted.

Parameters
painterthe QPainter to use
optionthe style option containing such flags as selection, level of detail, etc
contentsRectthe rect to paint within; automatically adjusted for the background, if any

Definition at line 227 of file skappletscript.cpp.

void SkAppletScript::showConfigurationInterface ( )
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:
  • skappletscript.h
  • skappletscript.cpp
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