C# Class Plasma.RunnerScript

Inheritance: Plasma.ScriptEngine, IDisposable
Datei anzeigen Open project: 0xd34df00d/Qross

Public Methods

Method Description
Dispose ( ) : void
Runner ( ) : AbstractRunner Returns the Plasma.AbstractRunner associated with this script component
RunnerScript ( ) : System
RunnerScript ( QObject parent ) : System Default constructor for a RunnerScript. Subclasses should not attempt to access the Plasma.AbstractRunner associated with this RunnerScript in the constructor. All such set up that requires the AbstractRunner itself should be done in the init() method.
SetRunner ( Plasma runner ) : void Sets the Plasma.AbstractRunner associated with this RunnerScript

Protected Methods

Method Description
Action ( string id ) : Qyoto.QAction
Actions ( ) : string
AddAction ( string id, Qyoto.QIcon icon, string text ) : Qyoto.QAction
AddAction ( string id, Qyoto.QAction action ) : void
AddSyntax ( Plasma syntax ) : void
ClearActions ( ) : void
Config ( ) : Kimono.KConfigGroup
CreateProxy ( ) : void
DataEngine ( string name ) : DataEngine
Description ( ) : Kimono.KPluginInfo
RemoveAction ( string id ) : void
RunnerScript ( Type dummy ) : System
ServiceQuery ( string serviceType ) : List
ServiceQuery ( string serviceType, string constraint ) : List
SetHasRunOptions ( bool hasRunOptions ) : void
SetIgnoredTypes ( uint types ) : void
SetPriority ( Plasma newPriority ) : void
SetSpeed ( Plasma newSpeed ) : void
SetSyntaxes ( List syns ) : void

Private Methods

Method Description
MainScript ( ) : string
Match ( Plasma search ) : void
Package ( ) : Package
Run ( Plasma search, Plasma action ) : void

Method Details

Action() protected method

protected Action ( string id ) : Qyoto.QAction
id string
return Qyoto.QAction

Actions() protected method

protected Actions ( ) : string
return string

AddAction() protected method

protected AddAction ( string id, Qyoto.QIcon icon, string text ) : Qyoto.QAction
id string
icon Qyoto.QIcon
text string
return Qyoto.QAction

AddAction() protected method

protected AddAction ( string id, Qyoto.QAction action ) : void
id string
action Qyoto.QAction
return void

AddSyntax() protected method

protected AddSyntax ( Plasma syntax ) : void
syntax Plasma
return void

ClearActions() protected method

protected ClearActions ( ) : void
return void

Config() protected method

protected Config ( ) : Kimono.KConfigGroup
return Kimono.KConfigGroup

CreateProxy() protected method

protected CreateProxy ( ) : void
return void

DataEngine() protected method

protected DataEngine ( string name ) : DataEngine
name string
return DataEngine

Description() protected method

protected Description ( ) : Kimono.KPluginInfo
return Kimono.KPluginInfo

Dispose() public method

public Dispose ( ) : void
return void

RemoveAction() protected method

protected RemoveAction ( string id ) : void
id string
return void

Runner() public method

Returns the Plasma.AbstractRunner associated with this script component
public Runner ( ) : AbstractRunner
return AbstractRunner

RunnerScript() public method

public RunnerScript ( ) : System
return System

RunnerScript() public method

Default constructor for a RunnerScript. Subclasses should not attempt to access the Plasma.AbstractRunner associated with this RunnerScript in the constructor. All such set up that requires the AbstractRunner itself should be done in the init() method.
public RunnerScript ( QObject parent ) : System
parent Qyoto.QObject
return System

RunnerScript() protected method

protected RunnerScript ( Type dummy ) : System
dummy System.Type
return System

ServiceQuery() protected method

protected ServiceQuery ( string serviceType ) : List
serviceType string
return List

ServiceQuery() protected method

protected ServiceQuery ( string serviceType, string constraint ) : List
serviceType string
constraint string
return List

SetHasRunOptions() protected method

protected SetHasRunOptions ( bool hasRunOptions ) : void
hasRunOptions bool
return void

SetIgnoredTypes() protected method

protected SetIgnoredTypes ( uint types ) : void
types uint
return void

SetPriority() protected method

protected SetPriority ( Plasma newPriority ) : void
newPriority Plasma
return void

SetRunner() public method

Sets the Plasma.AbstractRunner associated with this RunnerScript
public SetRunner ( Plasma runner ) : void
runner Plasma
return void

SetSpeed() protected method

protected SetSpeed ( Plasma newSpeed ) : void
newSpeed Plasma
return void

SetSyntaxes() protected method

protected SetSyntaxes ( List syns ) : void
syns List
return void