Метод | Описание | |
---|---|---|
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. |
Метод | Описание | |
---|---|---|
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 |
Метод | Описание | |
---|---|---|
ConfigChanged ( ) : void | ||
ConstraintsEvent ( uint constraints ) : void | ||
ContextualActions ( ) : List |
||
MainScript ( ) : string | ||
Package ( ) : |
||
PaintInterface ( |
||
Shape ( ) : |
||
ShowConfigurationInterface ( ) : void |
protected AddStandardConfigurationPages ( Kimono.KConfigDialog dialog ) : void | ||
dialog | Kimono.KConfigDialog | |
Результат | void |
public AppletScript ( |
||
parent | ||
Результат | System |
protected AppletScript ( |
||
dummy | ||
Результат | System |
protected DataEngine ( string engine ) : |
||
engine | string | |
Результат |
protected Description ( ) : Kimono.KPluginInfo | ||
Результат | Kimono.KPluginInfo |
protected IsRegisteredAsDragHandle ( IQGraphicsItem item ) : bool | ||
item | IQGraphicsItem | |
Результат | bool |
protected RegisterAsDragHandle ( IQGraphicsItem item ) : void | ||
item | IQGraphicsItem | |
Результат | void |
public SetConfigurationRequired ( bool req ) : void | ||
req | bool | |
Результат | void |
public SetConfigurationRequired ( bool req, string reason ) : void | ||
req | bool | |
reason | string | |
Результат | void |
public SetFailedToLaunch ( bool failed ) : void | ||
failed | bool | |
Результат | void |
public SetFailedToLaunch ( bool failed, string reason ) : void | ||
failed | bool | |
reason | string | |
Результат | void |
public SetHasConfigurationInterface ( bool hasInterface ) : void | ||
hasInterface | bool | |
Результат | void |
protected ShowMessage ( Qyoto.QIcon icon, string message, uint buttons ) : void | ||
icon | Qyoto.QIcon | |
message | string | |
buttons | uint | |
Результат | void |
protected StandardConfigurationDialog ( ) : Kimono.KConfigDialog | ||
Результат | Kimono.KConfigDialog |
protected UnregisterAsDragHandle ( IQGraphicsItem item ) : void | ||
item | IQGraphicsItem | |
Результат | void |