Method | 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. |
Method | 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 |
Method | 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 | |
return | void |
public AppletScript ( |
||
parent | ||
return | System |
protected AppletScript ( |
||
dummy | ||
return | System |
protected DataEngine ( string engine ) : |
||
engine | string | |
return |
protected Description ( ) : Kimono.KPluginInfo | ||
return | Kimono.KPluginInfo |
protected IsRegisteredAsDragHandle ( IQGraphicsItem item ) : bool | ||
item | IQGraphicsItem | |
return | bool |
protected RegisterAsDragHandle ( IQGraphicsItem item ) : void | ||
item | IQGraphicsItem | |
return | void |
public SetConfigurationRequired ( bool req ) : void | ||
req | bool | |
return | void |
public SetConfigurationRequired ( bool req, string reason ) : void | ||
req | bool | |
reason | string | |
return | void |
public SetFailedToLaunch ( bool failed ) : void | ||
failed | bool | |
return | void |
public SetFailedToLaunch ( bool failed, string reason ) : void | ||
failed | bool | |
reason | string | |
return | void |
public SetHasConfigurationInterface ( bool hasInterface ) : void | ||
hasInterface | bool | |
return | void |
protected ShowMessage ( Qyoto.QIcon icon, string message, uint buttons ) : void | ||
icon | Qyoto.QIcon | |
message | string | |
buttons | uint | |
return | void |
protected StandardConfigurationDialog ( ) : Kimono.KConfigDialog | ||
return | Kimono.KConfigDialog |
protected UnregisterAsDragHandle ( IQGraphicsItem item ) : void | ||
item | IQGraphicsItem | |
return | void |