Méthode | Description | |
---|---|---|
Applet ( ) : |
Returns the Plasma.Applet associated with this script component | |
AppletScript ( ) : System | ||
AppletScript ( |
Default constructor for an AppletScript. Subclasses should not attempt to access the Plasma.Applet associated with this AppletScript in the constructor. All such set up that requires the Applet itself should be done in the init() method. | |
ConfigNeedsSaving ( ) : void | ||
Dispose ( ) : void | ||
Extender ( ) : |
||
SetApplet ( Plasma applet ) : void | Sets the applet associated with this AppletScript | |
SetConfigurationRequired ( bool req ) : void | ||
SetConfigurationRequired ( bool req, string reason ) : void | ||
SetFailedToLaunch ( bool failed ) : void | ||
SetFailedToLaunch ( bool failed, string reason ) : void | ||
SetHasConfigurationInterface ( bool hasInterface ) : void | Sets whether or not this script has a configuration interface or not @arg hasInterface true if the applet is user configurable | |
Size ( ) : Qyoto.QSizeF | Returns the area within which contents can be painted. |
Méthode | Description | |
---|---|---|
AddStandardConfigurationPages ( Kimono.KConfigDialog dialog ) : void | This method should be called after a scripting applet has added its own pages to a configuration dialog | |
AppletScript ( |
||
CreateProxy ( ) : void | ||
DataEngine ( string engine ) : |
@arg engine name of the engine | |
Description ( ) : Kimono.KPluginInfo | ||
IsRegisteredAsDragHandle ( IQGraphicsItem item ) : bool | ||
RegisterAsDragHandle ( IQGraphicsItem item ) : void | ||
ShowMessage ( Qyoto.QIcon icon, string message, uint buttons ) : void | ||
StandardConfigurationDialog ( ) : Kimono.KConfigDialog | Note that the dialog returned is set to delete on close. | |
UnregisterAsDragHandle ( IQGraphicsItem item ) : void |
Méthode | Description | |
---|---|---|
ConfigChanged ( ) : void | ||
ConstraintsEvent ( uint constraints ) : void | ||
ContextualActions ( ) : List |
||
MainScript ( ) : string | ||
Package ( ) : |
||
PaintInterface ( |
||
Shape ( ) : |
||
ShowConfigurationInterface ( ) : void |
protected AddStandardConfigurationPages ( Kimono.KConfigDialog dialog ) : void | ||
dialog | Kimono.KConfigDialog | |
Résultat | void |
public AppletScript ( |
||
parent | ||
Résultat | System |
protected AppletScript ( |
||
dummy | ||
Résultat | System |
protected DataEngine ( string engine ) : |
||
engine | string | |
Résultat |
protected Description ( ) : Kimono.KPluginInfo | ||
Résultat | Kimono.KPluginInfo |
protected IsRegisteredAsDragHandle ( IQGraphicsItem item ) : bool | ||
item | IQGraphicsItem | |
Résultat | bool |
protected RegisterAsDragHandle ( IQGraphicsItem item ) : void | ||
item | IQGraphicsItem | |
Résultat | void |
public SetConfigurationRequired ( bool req ) : void | ||
req | bool | |
Résultat | void |
public SetConfigurationRequired ( bool req, string reason ) : void | ||
req | bool | |
reason | string | |
Résultat | void |
public SetFailedToLaunch ( bool failed ) : void | ||
failed | bool | |
Résultat | void |
public SetFailedToLaunch ( bool failed, string reason ) : void | ||
failed | bool | |
reason | string | |
Résultat | void |
public SetHasConfigurationInterface ( bool hasInterface ) : void | ||
hasInterface | bool | |
Résultat | void |
protected ShowMessage ( Qyoto.QIcon icon, string message, uint buttons ) : void | ||
icon | Qyoto.QIcon | |
message | string | |
buttons | uint | |
Résultat | void |
protected StandardConfigurationDialog ( ) : Kimono.KConfigDialog | ||
Résultat | Kimono.KConfigDialog |
protected UnregisterAsDragHandle ( IQGraphicsItem item ) : void | ||
item | IQGraphicsItem | |
Résultat | void |