C# Class Plasma.RunnerManager

Inheritance: Qyoto.QObject, IDisposable
Afficher le fichier Open project: 0xd34df00d/Qross

Méthodes publiques

Méthode Description
ActionsForMatch ( Plasma match ) : List Retrieves the list of actions, if any, for a match
AllowedRunners ( ) : List
Dispose ( ) : void
Matches ( ) : List Retrieves all available matches found so far for the previously launched query
Query ( ) : string
ReloadConfiguration ( ) : void Causes a reload of the current configuration
Run ( Plasma match ) : void Runs a given match @arg match the match to be executed
Run ( string id ) : void Runs a given match @arg id the id of the match to run
Runner ( string name ) : AbstractRunner Finds and returns a loaded runner or NULL @arg name the name of the runner
RunnerManager ( ) : System
RunnerManager ( Kimono.KConfigGroup config ) : System
RunnerManager ( Kimono.KConfigGroup config, QObject parent ) : System
RunnerManager ( QObject parent ) : System
RunnerName ( string id ) : string Returns the translated name of a runner @arg id the id of the runner
Runners ( ) : List
SearchContext ( ) : RunnerContext Retrieves the current context
SetAllowedRunners ( List runners ) : void Sets a whitelist for the plugins that can be loaded @arg plugins the plugin names of allowed runners
SetSingleMode ( bool singleMode ) : void Sets whether or not the manager is in single mode. @arg singleMode true if the manager should be in single mode, false otherwise
SetSingleModeRunnerId ( string id ) : void Puts the manager into "single runner" mode using the given runner; if the runner does not exist or can not be loaded then the single runner mode will not be started and singleModeRunner() will return NULL @arg id the id of the runner to use
SingleMode ( ) : bool
SingleModeAdvertisedRunnerIds ( ) : List
SingleModeRunner ( ) : AbstractRunner
SingleModeRunnerId ( ) : string

Méthodes protégées

Méthode Description
CreateProxy ( ) : void
RunnerManager ( Type dummy ) : System

Private Methods

Méthode Description
ExecQuery ( string term ) : bool
ExecQuery ( string term, string runnerName ) : bool
LaunchQuery ( string term ) : void
LaunchQuery ( string term, string runnerId ) : void
MatchSessionComplete ( ) : void
Reset ( ) : void
SetupMatchSession ( ) : void

Method Details

ActionsForMatch() public méthode

Retrieves the list of actions, if any, for a match
public ActionsForMatch ( Plasma match ) : List
match Plasma
Résultat List

AllowedRunners() public méthode

public AllowedRunners ( ) : List
Résultat List

CreateProxy() protected méthode

protected CreateProxy ( ) : void
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Matches() public méthode

Retrieves all available matches found so far for the previously launched query
public Matches ( ) : List
Résultat List

Query() public méthode

public Query ( ) : string
Résultat string

ReloadConfiguration() public méthode

Causes a reload of the current configuration
public ReloadConfiguration ( ) : void
Résultat void

Run() public méthode

Runs a given match @arg match the match to be executed
public Run ( Plasma match ) : void
match Plasma
Résultat void

Run() public méthode

Runs a given match @arg id the id of the match to run
public Run ( string id ) : void
id string
Résultat void

Runner() public méthode

Finds and returns a loaded runner or NULL @arg name the name of the runner
public Runner ( string name ) : AbstractRunner
name string
Résultat AbstractRunner

RunnerManager() public méthode

public RunnerManager ( ) : System
Résultat System

RunnerManager() public méthode

public RunnerManager ( Kimono.KConfigGroup config ) : System
config Kimono.KConfigGroup
Résultat System

RunnerManager() public méthode

public RunnerManager ( Kimono.KConfigGroup config, QObject parent ) : System
config Kimono.KConfigGroup
parent Qyoto.QObject
Résultat System

RunnerManager() public méthode

public RunnerManager ( QObject parent ) : System
parent Qyoto.QObject
Résultat System

RunnerManager() protected méthode

protected RunnerManager ( Type dummy ) : System
dummy System.Type
Résultat System

RunnerName() public méthode

Returns the translated name of a runner @arg id the id of the runner
public RunnerName ( string id ) : string
id string
Résultat string

Runners() public méthode

public Runners ( ) : List
Résultat List

SearchContext() public méthode

Retrieves the current context
public SearchContext ( ) : RunnerContext
Résultat RunnerContext

SetAllowedRunners() public méthode

Sets a whitelist for the plugins that can be loaded @arg plugins the plugin names of allowed runners
public SetAllowedRunners ( List runners ) : void
runners List
Résultat void

SetSingleMode() public méthode

Sets whether or not the manager is in single mode. @arg singleMode true if the manager should be in single mode, false otherwise
public SetSingleMode ( bool singleMode ) : void
singleMode bool
Résultat void

SetSingleModeRunnerId() public méthode

Puts the manager into "single runner" mode using the given runner; if the runner does not exist or can not be loaded then the single runner mode will not be started and singleModeRunner() will return NULL @arg id the id of the runner to use
public SetSingleModeRunnerId ( string id ) : void
id string
Résultat void

SingleMode() public méthode

public SingleMode ( ) : bool
Résultat bool

SingleModeAdvertisedRunnerIds() public méthode

public SingleModeAdvertisedRunnerIds ( ) : List
Résultat List

SingleModeRunner() public méthode

public SingleModeRunner ( ) : AbstractRunner
Résultat AbstractRunner

SingleModeRunnerId() public méthode

public SingleModeRunnerId ( ) : string
Résultat string