class KSycocaFactoryabstract |
|
Internal Base class for sycoca factories |
|
Create a factory which can be used to lookup from/create a database (depending on KSycoca.isBuilding()) |
|
|
Add an entry |
|
Get a list of all entries from the database. |
|
Construct an entry from a config file. To be implemented in the real factories. |
|
Read an entry from the database |
|
Returns the dict, for special use by KBuildSycoca |
|
|
Returns true if the factory is completely empty - no entries defined |
|
Returns the position of the factory in the sycoca file |
|
Remove all entries with the given name. Not very fast (O(N)), use with care. |
|
Returns the resources for which this factory is responsible. Internal to kbuildsycoca |
|
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. |
|
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. |
|
Returns the sycoca dict, for factories to find entries by name. |
|
Virtual hook, used to add new "virtual" functions while maintaining binary compatibility. Unused in this class. |