|
|
A service type is the generic notion for a mimetype, a type of service instead of a type of file. For instance, KOfficeFilter is a service type. It is associated to services according to the user profile (kuserprofile.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.
Parameters:
_fullpath | set to "" if calling from a inherited constructor. |
|
Construct a service type and take all informations from a deskop file.
|
The stream must already be positionned at the correct offset
QString |
[const virtual]
Returns: the icon associated with this service type. Some derived classes offer special functions which take for example an URL and returns a special icon for this URL. An example is KMimeType, KFoldeType and others.
QString |
[const virtual]
Returns: the descriptive comment associated, if any.
QString |
[const virtual]
Returns: the name of this service type.
Reimplemented from KSycocaEntry
QString |
[const]
Returns: the relative path to the desktop entry file responsible for this servicetype. For instance inode/directory.desktop, or kpart.desktop
void |
[virtual]
Save ourselves to the data stream.
Reimplemented from KSycocaEntry
void |
[virtual]
Load ourselves from the data stream.
Reimplemented from KSycocaEntry
Ptr |
[static]
Returns: a pointer to the servicetype '_name' or 0L if the service type is unknown. VERY IMPORTANT : don't store the result in a KServiceType * !
KService::List |
[static]
Returns: all services supporting the given servicetype name This doesn't take care of the user profile. In fact it is used by the KServiceTypeProfile, which is the one you should use.
List |
[static]
Returns: a list of all the supported servicetypes. Useful for showing the list of available servicetypes in a listbox, for example. Very memory consuming, don't use unless really necessary.
Generated by: dfaure@faure on Sun Mar 26 14:24:43 2000, using kdoc 2.0a35. |