C# Class Plasma.PackageMetadata

Inheritance: Object, IDisposable
Mostrar archivo Open project: 0xd34df00d/Qross

Protected Properties

Property Type Description
interceptor Qyoto.SmokeInvocation

Public Methods

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

Protected Methods

Method Description
CreateProxy ( ) : void
PackageMetadata ( Type dummy ) : System

Method Details

Application() public method

public Application ( ) : string
return string

Author() public method

public Author ( ) : string
return string

Category() public method

public Category ( ) : string
return string

CreateProxy() protected method

protected CreateProxy ( ) : void
return void

Description() public method

public Description ( ) : string
return string

Dispose() public method

public Dispose ( ) : void
return void

Email() public method

public Email ( ) : string
return string

ImplementationApi() public method

public ImplementationApi ( ) : string
return string

IsValid() public method

public IsValid ( ) : bool
return bool

Keywords() public method

public Keywords ( ) : List
return List

License() public method

public License ( ) : string
return string

Name() public method

public Name ( ) : string
return string

PackageMetadata() public method

public PackageMetadata ( ) : System
return System

PackageMetadata() public method

Copy constructor
public PackageMetadata ( Plasma other ) : System
other Plasma
return System

PackageMetadata() protected method

protected PackageMetadata ( Type dummy ) : System
dummy System.Type
return System

PackageMetadata() public method

Constructs a metadata object using the values in the file at path name="path" path to a metadata.desktop file
public PackageMetadata ( string path ) : System
path string
return System

PluginName() public method

public PluginName ( ) : string
return string

Read() public method

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
public Read ( string filename ) : void
filename string
return void

RemoteLocation() public method

public RemoteLocation ( ) : Kimono.KUrl
return Kimono.KUrl

RequiredVersion() public method

public RequiredVersion ( ) : string
return string

ServiceType() public method

public ServiceType ( ) : string
return string

SetApplication() public method

Set the name of the application this package may belongs to. This is used only for display purposes so far.
public SetApplication ( string arg1 ) : void
arg1 string
return void

SetAuthor() public method

Set the name of the author of the package.
public SetAuthor ( string arg1 ) : void
arg1 string
return void

SetCategory() public method

Sets the category this package belongs in
public SetCategory ( string arg1 ) : void
arg1 string
return void

SetDescription() public method

Set the description used to provide some general information what the package is about.
public SetDescription ( string arg1 ) : void
arg1 string
return void

SetEmail() public method

Set the E-Mail address of the author or of the project that provided the package.
public SetEmail ( string arg1 ) : void
arg1 string
return void

SetImplementationApi() public method

Set the implementation API this package uses.
public SetImplementationApi ( string api ) : void
api string
return void

SetKeywords() public method

Set the keywords used to provide search and categorizations name="keywords" the keywords to associate with this package
public SetKeywords ( List keywords ) : void
keywords List
return void

SetLicense() public method

Set the license the package is distributed under.
public SetLicense ( string arg1 ) : void
arg1 string
return void

SetName() public method

Set the name of the package used to displayed a short describing name.
public SetName ( string arg1 ) : void
arg1 string
return void

SetPluginName() public method

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
public SetPluginName ( string name ) : void
name string
return void

SetRemoteLocation() public method

Set the url where this package is hosted.
public SetRemoteLocation ( Kimono.KUrl arg1 ) : void
arg1 Kimono.KUrl
return void

SetRequiredVersion() public method

Set the required version. See also the setVersion() method.
public SetRequiredVersion ( string arg1 ) : void
arg1 string
return void

SetServiceType() public method

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.
public SetServiceType ( string arg1 ) : void
arg1 string
return void

SetType() public method

Set the type of the package. If not defined this defaults to "Service" in the desktop file.
public SetType ( string type ) : void
type string
return void

SetVersion() public method

Set the version of the package.
public SetVersion ( string arg1 ) : void
arg1 string
return void

SetWebsite() public method

Set the website URL where the package is hosted or where additional details about the project are available.
public SetWebsite ( string arg1 ) : void
arg1 string
return void

Version() public method

public Version ( ) : string
return string

Website() public method

public Website ( ) : string
return string

Write() public method

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
public Write ( string filename ) : void
filename string
return void

type() public method

public type ( ) : string
return string

Property Details

interceptor protected_oe property

protected SmokeInvocation,Qyoto interceptor
return Qyoto.SmokeInvocation