C# Класс Plasma.RunnerManager

Наследование: Qyoto.QObject, IDisposable
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
CreateProxy ( ) : void
RunnerManager ( Type dummy ) : System

Приватные методы

Метод Описание
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

Описание методов

ActionsForMatch() публичный Метод

Retrieves the list of actions, if any, for a match
public ActionsForMatch ( Plasma match ) : List
match Plasma
Результат List

AllowedRunners() публичный Метод

public AllowedRunners ( ) : List
Результат List

CreateProxy() защищенный Метод

protected CreateProxy ( ) : void
Результат void

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

Matches() публичный Метод

Retrieves all available matches found so far for the previously launched query
public Matches ( ) : List
Результат List

Query() публичный Метод

public Query ( ) : string
Результат string

ReloadConfiguration() публичный Метод

Causes a reload of the current configuration
public ReloadConfiguration ( ) : void
Результат void

Run() публичный Метод

Runs a given match @arg match the match to be executed
public Run ( Plasma match ) : void
match Plasma
Результат void

Run() публичный Метод

Runs a given match @arg id the id of the match to run
public Run ( string id ) : void
id string
Результат void

Runner() публичный Метод

Finds and returns a loaded runner or NULL @arg name the name of the runner
public Runner ( string name ) : AbstractRunner
name string
Результат AbstractRunner

RunnerManager() публичный Метод

public RunnerManager ( ) : System
Результат System

RunnerManager() публичный Метод

public RunnerManager ( Kimono.KConfigGroup config ) : System
config Kimono.KConfigGroup
Результат System

RunnerManager() публичный Метод

public RunnerManager ( Kimono.KConfigGroup config, QObject parent ) : System
config Kimono.KConfigGroup
parent Qyoto.QObject
Результат System

RunnerManager() публичный Метод

public RunnerManager ( QObject parent ) : System
parent Qyoto.QObject
Результат System

RunnerManager() защищенный Метод

protected RunnerManager ( Type dummy ) : System
dummy System.Type
Результат System

RunnerName() публичный Метод

Returns the translated name of a runner @arg id the id of the runner
public RunnerName ( string id ) : string
id string
Результат string

Runners() публичный Метод

public Runners ( ) : List
Результат List

SearchContext() публичный Метод

Retrieves the current context
public SearchContext ( ) : RunnerContext
Результат RunnerContext

SetAllowedRunners() публичный Метод

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
Результат void

SetSingleMode() публичный Метод

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
Результат void

SetSingleModeRunnerId() публичный Метод

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
Результат void

SingleMode() публичный Метод

public SingleMode ( ) : bool
Результат bool

SingleModeAdvertisedRunnerIds() публичный Метод

public SingleModeAdvertisedRunnerIds ( ) : List
Результат List

SingleModeRunner() публичный Метод

public SingleModeRunner ( ) : AbstractRunner
Результат AbstractRunner

SingleModeRunnerId() публичный Метод

public SingleModeRunnerId ( ) : string
Результат string