C# Класс Plasma.PackageMetadata

Наследование: Object, IDisposable
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
interceptor Qyoto.SmokeInvocation

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
CreateProxy ( ) : void
PackageMetadata ( Type dummy ) : System

Описание методов

Application() публичный Метод

public Application ( ) : string
Результат string

Author() публичный Метод

public Author ( ) : string
Результат string

Category() публичный Метод

public Category ( ) : string
Результат string

CreateProxy() защищенный Метод

protected CreateProxy ( ) : void
Результат void

Description() публичный Метод

public Description ( ) : string
Результат string

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

Email() публичный Метод

public Email ( ) : string
Результат string

ImplementationApi() публичный Метод

public ImplementationApi ( ) : string
Результат string

IsValid() публичный Метод

public IsValid ( ) : bool
Результат bool

Keywords() публичный Метод

public Keywords ( ) : List
Результат List

License() публичный Метод

public License ( ) : string
Результат string

Name() публичный Метод

public Name ( ) : string
Результат string

PackageMetadata() публичный Метод

public PackageMetadata ( ) : System
Результат System

PackageMetadata() публичный Метод

Copy constructor
public PackageMetadata ( Plasma other ) : System
other Plasma
Результат System

PackageMetadata() защищенный Метод

protected PackageMetadata ( Type dummy ) : System
dummy System.Type
Результат System

PackageMetadata() публичный Метод

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
Результат System

PluginName() публичный Метод

public PluginName ( ) : string
Результат string

Read() публичный Метод

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
Результат void

RemoteLocation() публичный Метод

public RemoteLocation ( ) : Kimono.KUrl
Результат Kimono.KUrl

RequiredVersion() публичный Метод

public RequiredVersion ( ) : string
Результат string

ServiceType() публичный Метод

public ServiceType ( ) : string
Результат string

SetApplication() публичный Метод

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
Результат void

SetAuthor() публичный Метод

Set the name of the author of the package.
public SetAuthor ( string arg1 ) : void
arg1 string
Результат void

SetCategory() публичный Метод

Sets the category this package belongs in
public SetCategory ( string arg1 ) : void
arg1 string
Результат void

SetDescription() публичный Метод

Set the description used to provide some general information what the package is about.
public SetDescription ( string arg1 ) : void
arg1 string
Результат void

SetEmail() публичный Метод

Set the E-Mail address of the author or of the project that provided the package.
public SetEmail ( string arg1 ) : void
arg1 string
Результат void

SetImplementationApi() публичный Метод

Set the implementation API this package uses.
public SetImplementationApi ( string api ) : void
api string
Результат void

SetKeywords() публичный Метод

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
Результат void

SetLicense() публичный Метод

Set the license the package is distributed under.
public SetLicense ( string arg1 ) : void
arg1 string
Результат void

SetName() публичный Метод

Set the name of the package used to displayed a short describing name.
public SetName ( string arg1 ) : void
arg1 string
Результат void

SetPluginName() публичный Метод

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
Результат void

SetRemoteLocation() публичный Метод

Set the url where this package is hosted.
public SetRemoteLocation ( Kimono.KUrl arg1 ) : void
arg1 Kimono.KUrl
Результат void

SetRequiredVersion() публичный Метод

Set the required version. See also the setVersion() method.
public SetRequiredVersion ( string arg1 ) : void
arg1 string
Результат void

SetServiceType() публичный Метод

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
Результат void

SetType() публичный Метод

Set the type of the package. If not defined this defaults to "Service" in the desktop file.
public SetType ( string type ) : void
type string
Результат void

SetVersion() публичный Метод

Set the version of the package.
public SetVersion ( string arg1 ) : void
arg1 string
Результат void

SetWebsite() публичный Метод

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
Результат void

Version() публичный Метод

public Version ( ) : string
Результат string

Website() публичный Метод

public Website ( ) : string
Результат string

Write() публичный Метод

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
Результат void

type() публичный Метод

public type ( ) : string
Результат string

Описание свойств

interceptor защищенное свойство

protected SmokeInvocation,Qyoto interceptor
Результат Qyoto.SmokeInvocation