C# 클래스 Plasma.ContainmentActions

상속: Qyoto.QObject, IDisposable
파일 보기 프로젝트 열기: 0xd34df00d/Qross

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