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
__init__ |
( |
self, |
|
|
|
KSycocaEntryPrivate |
d |
|
) |
|
|
|
- Returns:
- the path of this entry
The path can be absolute or relative.
The corresponding factory should know relative to what.
bool isSeparator |
( |
|
self ) |
|
bool isType |
( |
self, |
|
|
|
KSycocaType |
t |
|
) |
|
|
|
- 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
Safe demarshalling functions.
- 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
KSycocaType sycocaType |
( |
|
self ) |
|