Method |
Description |
|
Application ( ) : string |
|
|
Author ( ) : string |
|
|
Category ( ) : string |
|
|
Description ( ) : string |
|
|
Dispose ( ) : void |
|
|
Email ( ) : string |
|
|
ImplementationApi ( ) : string |
|
|
IsValid ( ) : bool |
|
|
Keywords ( ) : List |
|
|
License ( ) : string |
|
|
Name ( ) : string |
|
|
PackageMetadata ( ) : System |
|
|
PackageMetadata ( Plasma other ) : System |
Copy constructor |
|
PackageMetadata ( string path ) : System |
Constructs a metadata object using the values in the file at path name="path" path to a metadata.desktop file |
|
PluginName ( ) : string |
|
|
Read ( string filename ) : void |
Reads in metadata from a file, which should be a .desktop file. It writes out the information in a format that is compatible with KPluginInfo @arg filename path to the file to write to |
|
RemoteLocation ( ) : Kimono.KUrl |
|
|
RequiredVersion ( ) : string |
|
|
ServiceType ( ) : string |
|
|
SetApplication ( string arg1 ) : void |
Set the name of the application this package may belongs to. This is used only for display purposes so far. |
|
SetAuthor ( string arg1 ) : void |
Set the name of the author of the package. |
|
SetCategory ( string arg1 ) : void |
Sets the category this package belongs in |
|
SetDescription ( string arg1 ) : void |
Set the description used to provide some general information what the package is about. |
|
SetEmail ( string arg1 ) : void |
Set the E-Mail address of the author or of the project that provided the package. |
|
SetImplementationApi ( string api ) : void |
Set the implementation API this package uses. |
|
SetKeywords ( List keywords ) : void |
Set the keywords used to provide search and categorizations name="keywords" the keywords to associate with this package |
|
SetLicense ( string arg1 ) : void |
Set the license the package is distributed under. |
|
SetName ( string arg1 ) : void |
Set the name of the package used to displayed a short describing name. |
|
SetPluginName ( string name ) : void |
Set the plugin name of the package. The plugin name is used to locate the package; @code string serviceName("plasma-applet-" + data.pluginName()); string service = KStandardDirs.LocateLocal("services", serviceName + ".desktop"); @endcode |
|
SetRemoteLocation ( Kimono.KUrl arg1 ) : void |
Set the url where this package is hosted. |
|
SetRequiredVersion ( string arg1 ) : void |
Set the required version. See also the setVersion() method. |
|
SetServiceType ( string arg1 ) : void |
Set the service-type which defines the X-KDE-ServiceTypes type within the desktop file. If not defined this defaults to "Plasma/Applet,Plasma/Containment" in the desktop file. |
|
SetType ( string type ) : void |
Set the type of the package. If not defined this defaults to "Service" in the desktop file. |
|
SetVersion ( string arg1 ) : void |
Set the version of the package. |
|
SetWebsite ( string arg1 ) : void |
Set the website URL where the package is hosted or where additional details about the project are available. |
|
Version ( ) : string |
|
|
Website ( ) : string |
|
|
Write ( string filename ) : void |
Writes out the metadata to filename, which should be a .desktop file. It writes out the information in a format that is compatible with KPluginInfo @arg filename path to the file to write to |
|
type ( ) : string |
|
|