KSycocaEntry Class Reference
from PyKDE4.kdecore import *
Subclasses: KProtocolInfo, KService, KServiceGroup, KServiceType
Detailed Description
Base class for all Sycoca entries.
You can't create an instance of KSycocaEntry, but it provides
the common functionality for servicetypes and services.
- Internal:
-
- See also:
- http://techbase.kde.org/Development/Architecture/KDE3/System_Configuration_Cache
Method Documentation
- Returns:
- the path of this entry
The path can be absolute or relative.
The corresponding factory should know relative to what.
bool isSeparator |
( |
|
self ) |
|
- Returns:
- the name of this entry
- Internal:
-
- Returns:
- the position of the entry in the sycoca file
Returns the requested property. Some often used properties
have convenience access functions like exec(),
serviceTypes etc.
- Parameters:
-
| name | the name of the property
|
- Returns:
- the property, or invalid if not found
Returns the list of all properties that this service can have.
That means, that some of these properties may be empty.
- Returns:
- the list of supported properties
- Internal:
-
Save ourselves to the database. Don't forget to call the parent class
first if you override this function.
setDeleted |
( |
self, |
|
|
|
bool |
deleted |
|
) |
|
|
|
Sets whether or not this service is deleted
- Returns:
- the unique ID for this entry
In practice, this is storageId() for KService and name() for everything else.
- Since:
- 4.2.1
Static Method Documentation
Safe demarshalling functions.
Safe demarshalling functions.