C# 클래스 Plasma.Global

파일 보기 프로젝트 열기: 0xd34df00d/Qross

공개 메소드들

메소드 설명
ActionsFromMenu ( Qyoto.QMenu menu ) : List
ActionsFromMenu ( Qyoto.QMenu menu, string prefix ) : List
ActionsFromMenu ( Qyoto.QMenu menu, string prefix, QObject parent ) : List Returns a list of all actions in the given QMenu This method flattens the hierarchy of the menu by prefixing the text of all actions in a submenu with the submenu title. name="menu" the QMenu storing the actions name="prefix" text to display before the text of all actions in the menu name="parent" QObject to be passed as parent of all the actions in the list
IsPluginVersionCompatible ( uint version ) : bool Verifies that a plugin is compatible with plasma
KnownLanguages ( uint types ) : List @arg types a set of ComponentTypes flags for which to look up the language support for
LoadScriptEngine ( string language, Plasma applet ) : AppletScript Loads an Applet script engine for the given language. name="language" the language to load for name="applet" the Plasma.Applet for this script
LoadScriptEngine ( string language, Plasma dataEngine ) : Plasma.DataEngineScript Loads an DataEngine script engine for the given language. name="language" the language to load for name="dataEngine" the Plasma.DataEngine for this script;
LoadScriptEngine ( string language, Plasma runner ) : RunnerScript Loads an Applet script engine for the given language. name="language" the language to load for name="runner" the Plasma.AbstractRunner for this script
LoadScriptEngine ( string language, Plasma wallpaper ) : WallpaperScript Loads an Wallpaper script engine for the given language. name="language" the language to load for name="runner" the Plasma.Wallpaper for this script
LocationToDirection ( Plasma location ) : Plasma.Direction Converts a location to a direction. Handy for figuring out which way to send a popup based on location or to point arrows and other directional items. name="location" the location of the container the element will appear in
LocationToInverseDirection ( Plasma location ) : Plasma.Direction Converts a location to the direction facing it. Handy for figuring out which way to collapse a popup or to point arrows at the item itself. name="location" the location of the container the element will appear in
PackageStructure ( string language, Plasma type ) : Plasma.PackageStructure Loads an appropriate PackageStructure for the given language and type name="language" the language to load the PackageStructure for name="type" the component type
ScalingFactor ( Plasma level ) : double Streaming operators for sending/storing identities.
Version ( ) : uint The runtime version of libplasma
VersionMajor ( ) : uint The runtime major version of libplasma
VersionMinor ( ) : uint The runtime major version of libplasma
VersionRelease ( ) : uint The runtime major version of libplasma
VersionString ( ) : string The runtime version string of libplasma
ViewFor ( IQGraphicsItem item ) : Qyoto.QGraphicsView Returns the most appropriate QGraphicsView for the item. @arg item the QGraphicsItem to locate a view for

비공개 메소드들

메소드 설명
Global ( ) : System

메소드 상세

ActionsFromMenu() 공개 정적인 메소드

public static ActionsFromMenu ( Qyoto.QMenu menu ) : List
menu Qyoto.QMenu
리턴 List

ActionsFromMenu() 공개 정적인 메소드

public static ActionsFromMenu ( Qyoto.QMenu menu, string prefix ) : List
menu Qyoto.QMenu
prefix string
리턴 List

ActionsFromMenu() 공개 정적인 메소드

Returns a list of all actions in the given QMenu This method flattens the hierarchy of the menu by prefixing the text of all actions in a submenu with the submenu title. name="menu" the QMenu storing the actions name="prefix" text to display before the text of all actions in the menu name="parent" QObject to be passed as parent of all the actions in the list
public static ActionsFromMenu ( Qyoto.QMenu menu, string prefix, QObject parent ) : List
menu Qyoto.QMenu
prefix string
parent Qyoto.QObject
리턴 List

IsPluginVersionCompatible() 공개 정적인 메소드

Verifies that a plugin is compatible with plasma
public static IsPluginVersionCompatible ( uint version ) : bool
version uint
리턴 bool

KnownLanguages() 공개 정적인 메소드

@arg types a set of ComponentTypes flags for which to look up the language support for
public static KnownLanguages ( uint types ) : List
types uint
리턴 List

LoadScriptEngine() 공개 정적인 메소드

Loads an Applet script engine for the given language. name="language" the language to load for name="applet" the Plasma.Applet for this script
public static LoadScriptEngine ( string language, Plasma applet ) : AppletScript
language string
applet Plasma
리턴 AppletScript

LoadScriptEngine() 공개 정적인 메소드

Loads an DataEngine script engine for the given language. name="language" the language to load for name="dataEngine" the Plasma.DataEngine for this script;
public static LoadScriptEngine ( string language, Plasma dataEngine ) : Plasma.DataEngineScript
language string
dataEngine Plasma
리턴 Plasma.DataEngineScript

LoadScriptEngine() 공개 정적인 메소드

Loads an Applet script engine for the given language. name="language" the language to load for name="runner" the Plasma.AbstractRunner for this script
public static LoadScriptEngine ( string language, Plasma runner ) : RunnerScript
language string
runner Plasma
리턴 RunnerScript

LoadScriptEngine() 공개 정적인 메소드

Loads an Wallpaper script engine for the given language. name="language" the language to load for name="runner" the Plasma.Wallpaper for this script
public static LoadScriptEngine ( string language, Plasma wallpaper ) : WallpaperScript
language string
wallpaper Plasma
리턴 WallpaperScript

LocationToDirection() 공개 정적인 메소드

Converts a location to a direction. Handy for figuring out which way to send a popup based on location or to point arrows and other directional items. name="location" the location of the container the element will appear in
public static LocationToDirection ( Plasma location ) : Plasma.Direction
location Plasma
리턴 Plasma.Direction

LocationToInverseDirection() 공개 정적인 메소드

Converts a location to the direction facing it. Handy for figuring out which way to collapse a popup or to point arrows at the item itself. name="location" the location of the container the element will appear in
public static LocationToInverseDirection ( Plasma location ) : Plasma.Direction
location Plasma
리턴 Plasma.Direction

PackageStructure() 공개 정적인 메소드

Loads an appropriate PackageStructure for the given language and type name="language" the language to load the PackageStructure for name="type" the component type
public static PackageStructure ( string language, Plasma type ) : Plasma.PackageStructure
language string
type Plasma
리턴 Plasma.PackageStructure

ScalingFactor() 공개 정적인 메소드

Streaming operators for sending/storing identities.
public static ScalingFactor ( Plasma level ) : double
level Plasma
리턴 double

Version() 공개 정적인 메소드

The runtime version of libplasma
public static Version ( ) : uint
리턴 uint

VersionMajor() 공개 정적인 메소드

The runtime major version of libplasma
public static VersionMajor ( ) : uint
리턴 uint

VersionMinor() 공개 정적인 메소드

The runtime major version of libplasma
public static VersionMinor ( ) : uint
리턴 uint

VersionRelease() 공개 정적인 메소드

The runtime major version of libplasma
public static VersionRelease ( ) : uint
리턴 uint

VersionString() 공개 정적인 메소드

The runtime version string of libplasma
public static VersionString ( ) : string
리턴 string

ViewFor() 공개 정적인 메소드

Returns the most appropriate QGraphicsView for the item. @arg item the QGraphicsItem to locate a view for
public static ViewFor ( IQGraphicsItem item ) : Qyoto.QGraphicsView
item IQGraphicsItem
리턴 Qyoto.QGraphicsView