KSycoca Class Reference
Inheritance diagram for KSycoca:

Detailed Description
Definition at line 44 of file ksycoca.h.
Signals | |
| void | databaseChanged () |
DCOP Member Functions | |
| void | notifyDatabaseChanged (const QStringList &) |
Public Member Functions | |
| KSycoca () | |
| virtual | ~KSycoca () |
| QDataStream * | findEntry (int offset, KSycocaType &type) |
| QDataStream * | findFactory (KSycocaFactoryId id) |
| QString | kfsstnd_prefixes () |
| QString | language () |
| Q_UINT32 | timeStamp () |
| Q_UINT32 | updateSignature () |
| QStringList | allResourceDirs () |
| void | addFactory (KSycocaFactory *) |
| virtual bool | isBuilding () |
| void | disableAutoRebuild () |
Static Public Member Functions | |
| static KSycoca * | self () |
| static int | version () |
| static QString | determineRelativePath (const QString &_fullpath, const char *_resource) |
| static bool | isChanged (const char *type) |
| static void | flagError () |
| static bool | readError () |
Static Public Attributes | |
| static KSycoca * | _self = 0L |
Protected Member Functions | |
| KSycoca (bool) | |
| bool | checkVersion (bool abortOnError=true) |
| bool | openDatabase (bool openDummyIfNotFound=true) |
| void | closeDatabase () |
| virtual void | virtual_hook (int id, void *data) |
Protected Attributes | |
| KSycocaFactoryList * | m_lstFactories |
| QDataStream * | m_str |
| bool | bNoDatabase |
| size_t | m_sycoca_size |
| const char * | m_sycoca_mmap |
| Q_UINT32 | m_timeStamp |
Constructor & Destructor Documentation
|
|
Read-only database.
Definition at line 89 of file ksycoca.cpp. |
Member Function Documentation
|
|
Connect to this to get notified when the database changes (Usually apps showing icons do a 'refresh' to take into account the new mimetypes).
|
|
||||||||||||
|
Determine relative path for a .desktop file from a full path and a resource name.
Definition at line 420 of file ksycoca.cpp. |
|
|
A read error occurs.
Definition at line 440 of file ksycoca.cpp. |
|
|
When you receive a "databaseChanged" signal, you can query here if a change has occurred in a specific resource type.
Definition at line 263 of file ksycoca.cpp. |
|
|
internal function for receiving kded/kbuildsycoca's signal, when the sycoca file changes
Definition at line 268 of file ksycoca.cpp. |
|
|
Returns read error status and clears flag.
Definition at line 459 of file ksycoca.cpp. |
|
|
Get or create the only instance of KSycoca (read-only).
Definition at line 211 of file ksycoca.cpp. |
The documentation for this class was generated from the following files:

