|
| ||||||||||||||
Base class for all entries. You can't create instance of KSycocaEntry, but it provides the common functionality for servicetypes and services.
| bool isType (KSycocaType t)
| isType |
[const virtual]
| KSycocaType sycocaType ()
| sycocaType |
[const virtual]
| typedef KSharedPtr<KSycocaEntry> Ptr | Ptr |
| typedef QValueList | List |
| KSycocaEntry (const QString &path)
| KSycocaEntry |
Default constructor
| KSycocaEntry ( QDataStream &_str, int offset )
| KSycocaEntry |
Restores itself from a stream.
| QString name ()
| name |
[const pure virtual]
Returns: the name of this entry
| QString entryPath ()
| entryPath |
[const]
Returns: the path of this entry The path can be aboslute or relative. The corresponding factory should know relative to what.
| bool isValid ()
| isValid |
[const pure virtual]
Returns: true if valid
| bool isDeleted ()
| isDeleted |
[const virtual]
Returns: true if deleted
| int offset ()
| offset |
Returns: the position of the entry in the sycoca file
| void save (QDataStream &s)
| save |
[virtual]
Save ourselves to the database. Don't forget to call the parent class first if you override this function.
| void load (QDataStream &)
| load |
[pure virtual]
Load ourselves from the database. Don't call the parent class!
| bool m_bDeleted | m_bDeleted |
[protected]
| QString mPath | mPath |
[protected]
| Generated by: dfaure on kde.faure.org on Thu Jan 17 22:15:01 2002, using kdoc 2.0a53. |