C# 클래스 Plasma.PackageMetadata

상속: Object, IDisposable
파일 보기 프로젝트 열기: 0xd34df00d/Qross

보호된 프로퍼티들

프로퍼티 타입 설명
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