메소드 |
설명 |
|
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 |
|