C# Class Plasma.PackageMetadata

Inheritance: Object, IDisposable
Afficher le fichier Open project: 0xd34df00d/Qross

Protected Properties

Свойство Type Description
interceptor Qyoto.SmokeInvocation

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
CreateProxy ( ) : void
PackageMetadata ( Type dummy ) : System

Method Details

Application() public méthode

public Application ( ) : string
Résultat string

Author() public méthode

public Author ( ) : string
Résultat string

Category() public méthode

public Category ( ) : string
Résultat string

CreateProxy() protected méthode

protected CreateProxy ( ) : void
Résultat void

Description() public méthode

public Description ( ) : string
Résultat string

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Email() public méthode

public Email ( ) : string
Résultat string

ImplementationApi() public méthode

public ImplementationApi ( ) : string
Résultat string

IsValid() public méthode

public IsValid ( ) : bool
Résultat bool

Keywords() public méthode

public Keywords ( ) : List
Résultat List

License() public méthode

public License ( ) : string
Résultat string

Name() public méthode

public Name ( ) : string
Résultat string

PackageMetadata() public méthode

public PackageMetadata ( ) : System
Résultat System

PackageMetadata() public méthode

Copy constructor
public PackageMetadata ( Plasma other ) : System
other Plasma
Résultat System

PackageMetadata() protected méthode

protected PackageMetadata ( Type dummy ) : System
dummy System.Type
Résultat System

PackageMetadata() public méthode

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
Résultat System

PluginName() public méthode

public PluginName ( ) : string
Résultat string

Read() public méthode

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
Résultat void

RemoteLocation() public méthode

public RemoteLocation ( ) : Kimono.KUrl
Résultat Kimono.KUrl

RequiredVersion() public méthode

public RequiredVersion ( ) : string
Résultat string

ServiceType() public méthode

public ServiceType ( ) : string
Résultat string

SetApplication() public méthode

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
Résultat void

SetAuthor() public méthode

Set the name of the author of the package.
public SetAuthor ( string arg1 ) : void
arg1 string
Résultat void

SetCategory() public méthode

Sets the category this package belongs in
public SetCategory ( string arg1 ) : void
arg1 string
Résultat void

SetDescription() public méthode

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

SetEmail() public méthode

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

SetImplementationApi() public méthode

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

SetKeywords() public méthode

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
Résultat void

SetLicense() public méthode

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

SetName() public méthode

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

SetPluginName() public méthode

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
Résultat void

SetRemoteLocation() public méthode

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

SetRequiredVersion() public méthode

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

SetServiceType() public méthode

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
Résultat void

SetType() public méthode

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

SetVersion() public méthode

Set the version of the package.
public SetVersion ( string arg1 ) : void
arg1 string
Résultat void

SetWebsite() public méthode

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
Résultat void

Version() public méthode

public Version ( ) : string
Résultat string

Website() public méthode

public Website ( ) : string
Résultat string

Write() public méthode

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
Résultat void

type() public méthode

public type ( ) : string
Résultat string

Property Details

interceptor protected_oe property

protected SmokeInvocation,Qyoto interceptor
Résultat Qyoto.SmokeInvocation