C# Класс Plasma.ContainmentActions

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

Private Properties

Свойство Тип Описание
ConfigurationAccepted void
ContainmentActions System
ContextEvent void
ContextualActions List
CreateConfigurationInterface Qyoto.QWidget
Event bool
Init void
Save void

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

Метод Описание
ConfigurationRequired ( ) : bool
ContainmentActions ( QObject parent ) : System Default constructor for an empty or null containmentactions
ContainmentActions ( QObject parent, List args ) : System This constructor is to be used with the plugin loading systems found in KPluginInfo and KService. The argument list is expected to have one element: the KService service ID for the desktop entry. name="parent" a QObject parent; you probably want to pass in 0 name="args" a list of strings containing one entry: the service id
DataEngine ( string name ) : DataEngine Loads the given DataEngine Tries to load the data engine given by name. Each engine is only loaded once, and that instance is re-used on all subsequent requests. If the data engine was not found, an invalid data engine is returned (see DataEngine.IsValid()). Note that you should not delete the returned engine. name="name" Name of the data engine to load
Dispose ( ) : void
EventToString ( Qyoto.QEvent arg1 ) : string Turns a mouse or wheel event into a string suitable for a ContainmentActions
IsInitialized ( ) : bool
ListContainmentActionsInfo ( ) : List Returns a list of all known containmentactions plugins.
Load ( Plasma parent, Kimono.KPluginInfo info ) : ContainmentActions
Load ( Plasma parent, Kimono.KPluginInfo info, List args ) : ContainmentActions Attempts to load a containmentactions Returns a pointer to the containmentactions if successful. The caller takes responsibility for the containmentactions, including deleting it when no longer needed. name="parent" the parent containment. Required; if you send null you'll get back null. name="info" KPluginInfo object for the desired containmentactions name="args" to send the containmentactions extra arguments
Load ( Plasma parent, string name ) : ContainmentActions
Load ( Plasma parent, string name, List args ) : ContainmentActions Attempts to load a containmentactions Returns a pointer to the containmentactions if successful. The caller takes responsibility for the containmentactions, including deleting it when no longer needed. name="parent" the parent containment. Required; if you send null you'll get back null. name="name" the plugin name, as returned by KPluginInfo.PluginName() name="args" to send the containmentactions extra arguments
PackageStructure ( ) : Plasma.PackageStructure Returns the Package specialization for containmentactions.
Restore ( Kimono.KConfigGroup config ) : void This method should be called once the plugin is loaded or settings are changed. name="config" Config group to load settings

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

Метод Описание
Containment ( ) : Containment
ContainmentActions ( Type dummy ) : System
CreateProxy ( ) : void
Paste ( QPointF scenePos, Qyoto.QPoint screenPos ) : void pastes the clipboard at a given location
SetConfigurationRequired ( ) : void
SetConfigurationRequired ( bool needsConfiguring ) : void When the containmentactions needs to be configured before being usable, this method can be called to denote that action is required name="needsConfiguring" true if the applet needs to be configured, or false if it doesn't

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

Метод Описание
ConfigurationAccepted ( ) : void
ContainmentActions ( ) : System
ContextEvent ( Qyoto.QEvent arg1 ) : void
ContextualActions ( ) : List
CreateConfigurationInterface ( QWidget parent ) : QWidget
Event ( Qyoto.QEvent e ) : bool
Init ( Kimono.KConfigGroup config ) : void
Save ( Kimono.KConfigGroup config ) : void

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

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

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

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

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

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

Default constructor for an empty or null containmentactions
public ContainmentActions ( QObject parent ) : System
parent Qyoto.QObject
Результат System

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

This constructor is to be used with the plugin loading systems found in KPluginInfo and KService. The argument list is expected to have one element: the KService service ID for the desktop entry. name="parent" a QObject parent; you probably want to pass in 0 name="args" a list of strings containing one entry: the service id
public ContainmentActions ( QObject parent, List args ) : System
parent Qyoto.QObject
args List
Результат System

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

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

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

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

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

Loads the given DataEngine Tries to load the data engine given by name. Each engine is only loaded once, and that instance is re-used on all subsequent requests. If the data engine was not found, an invalid data engine is returned (see DataEngine.IsValid()). Note that you should not delete the returned engine. name="name" Name of the data engine to load
public DataEngine ( string name ) : DataEngine
name string
Результат DataEngine

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

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

EventToString() публичный статический Метод

Turns a mouse or wheel event into a string suitable for a ContainmentActions
public static EventToString ( Qyoto.QEvent arg1 ) : string
arg1 Qyoto.QEvent
Результат string

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

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

ListContainmentActionsInfo() публичный статический Метод

Returns a list of all known containmentactions plugins.
public static ListContainmentActionsInfo ( ) : List
Результат List

Load() публичный статический Метод

public static Load ( Plasma parent, Kimono.KPluginInfo info ) : ContainmentActions
parent Plasma
info Kimono.KPluginInfo
Результат ContainmentActions

Load() публичный статический Метод

Attempts to load a containmentactions Returns a pointer to the containmentactions if successful. The caller takes responsibility for the containmentactions, including deleting it when no longer needed. name="parent" the parent containment. Required; if you send null you'll get back null. name="info" KPluginInfo object for the desired containmentactions name="args" to send the containmentactions extra arguments
public static Load ( Plasma parent, Kimono.KPluginInfo info, List args ) : ContainmentActions
parent Plasma
info Kimono.KPluginInfo
args List
Результат ContainmentActions

Load() публичный статический Метод

public static Load ( Plasma parent, string name ) : ContainmentActions
parent Plasma
name string
Результат ContainmentActions

Load() публичный статический Метод

Attempts to load a containmentactions Returns a pointer to the containmentactions if successful. The caller takes responsibility for the containmentactions, including deleting it when no longer needed. name="parent" the parent containment. Required; if you send null you'll get back null. name="name" the plugin name, as returned by KPluginInfo.PluginName() name="args" to send the containmentactions extra arguments
public static Load ( Plasma parent, string name, List args ) : ContainmentActions
parent Plasma
name string
args List
Результат ContainmentActions

PackageStructure() публичный статический Метод

Returns the Package specialization for containmentactions.
public static PackageStructure ( ) : Plasma.PackageStructure
Результат Plasma.PackageStructure

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

pastes the clipboard at a given location
protected Paste ( QPointF scenePos, Qyoto.QPoint screenPos ) : void
scenePos Qyoto.QPointF
screenPos Qyoto.QPoint
Результат void

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

This method should be called once the plugin is loaded or settings are changed. name="config" Config group to load settings
public Restore ( Kimono.KConfigGroup config ) : void
config Kimono.KConfigGroup
Результат void

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

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

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

When the containmentactions needs to be configured before being usable, this method can be called to denote that action is required name="needsConfiguring" true if the applet needs to be configured, or false if it doesn't
protected SetConfigurationRequired ( bool needsConfiguring ) : void
needsConfiguring bool
Результат void