#include <kservicetype.h>
Inheritance diagram for KServiceType:

Public Types | |
| typedef KSharedPtr< KServiceType > | Ptr |
| typedef QValueList< Ptr > | List |
Public Methods | |
| KServiceType (const QString &_fullpath, const QString &_name, const QString &_icon, const QString &_comment) | |
| KServiceType (const QString &_fullpath) | |
| KServiceType (KDesktopFile *config) | |
| QString | icon () const |
| QString | comment () const |
| QString | name () const |
| QString | desktopEntryPath () const |
| bool | isDerived () const |
| QString | parentServiceType () const |
| bool | inherits (const QString &servTypeName) const |
| bool | isValid () const |
| virtual void | save (QDataStream &) |
| virtual void | load (QDataStream &) |
Static Public Methods | |
| Ptr | serviceType (const QString &_name) |
| KService::List | offers (const QString &_servicetype) |
| List | allServiceTypes () |
Protected Methods | |
| virtual void | virtual_hook (int id, void *data) |
Definition at line 43 of file kservicetype.h.
|
||||||||||||||||||||
|
Constructor. You may pass in arguments to create a servicetype with specific properties |
|
|
Construct a service type and take all informations from a config file.
|
|
|
Construct a service type and take all informations from a deskop file. |
|
|
|
|
|
Reimplemented in KMimeType. Definition at line 89 of file kservicetype.h. |
|
|
Definition at line 101 of file kservicetype.h. References KSycocaEntry::entryPath(). |
|
|
Definition at line 84 of file kservicetype.h. |
|
|
|
|
|
Definition at line 106 of file kservicetype.h. |
|
|
Implements KSycocaEntry. Definition at line 123 of file kservicetype.h. |
|
|
Load ourselves from the data stream. Implements KSycocaEntry. Reimplemented in KMimeType. |
|
|
Implements KSycocaEntry. Definition at line 94 of file kservicetype.h. |
|
|
|
|
|
If this service type inherits from another service type, return the name of the parent. Otherwise QString::null. |
|
|
Save ourselves to the data stream. Reimplemented from KSycocaEntry. Reimplemented in KMimeType. |
|
|
|
1.2.18