|
|
Base class for sycoca factories
KSycocaFactory ( KSycocaFactoryId factory_id ) |
Create a factory which can be used to lookup from/create a database (depending on KSycoca::isBuilding())
int offset () |
Returns: the position of the factory in the sycoca file
KSycocaEntryDict * entryDict () |
Returns: the dict, for special use by KBuildSycoca
KSycocaEntry * createEntry (const QString &file, const char *resource) |
Construct an entry from a config file. To be implemented in the real factories.
void addEntry (KSycocaEntry *newEntry) |
Add an entry
void save (QDataStream &str) |
Saves all entries it maintains as well as index files for these entries to the stream 'str'.
Also sets mOffset to the starting position.
The stream is positioned at the end of the last index.
Don't forget to call the parent first when you override this function.
void saveHeader (QDataStream &str) |
Writes out a header to the stream 'str'. The baseclass positions the stream correctly.
Don't forget to call the parent first when you override this function.
const QStringList * resourceList () |
Returns: the resources for which this factory is responsible.
Generated by: root@tantive.terraplex.com on Sun Feb 27 17:39:31 2000, using kdoc 2.0a33. |