Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   Related Pages  

KSycocaEntry Class Reference

#include <ksycocaentry.h>

Inheritance diagram for KSycocaEntry:

KShared KProtocolInfo KService KServiceGroup KServiceType KMimeType KDEDesktopMimeType KExecMimeType KFolderType List of all members.

Public Methods

 KSycocaEntry (const QString &path)
virtual QString name () const=0
QString entryPath () const
virtual bool isValid () const=0
virtual bool isDeleted () const

Static Public Methods

void read (QDataStream &s, QString &str)

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.

Definition at line 37 of file ksycocaentry.h.


Constructor & Destructor Documentation

KSycocaEntry::KSycocaEntry const QString &    path [inline]
 

Default constructor

Definition at line 51 of file ksycocaentry.h.


Member Function Documentation

QString KSycocaEntry::entryPath   const [inline]
 

Returns:
the path of this entry The path can be absolute or relative. The corresponding factory should know relative to what.

Definition at line 79 of file ksycocaentry.h.

Referenced by KServiceType::desktopEntryPath(), KService::desktopEntryPath(), and KServiceGroup::name().

virtual bool KSycocaEntry::isDeleted   const [inline, virtual]
 

Returns:
true if deleted

Definition at line 89 of file ksycocaentry.h.

virtual bool KSycocaEntry::isValid   [pure virtual]
 

Returns:
true if valid

Implemented in KProtocolInfo, KService, KServiceGroup, and KServiceType.

virtual QString KSycocaEntry::name   [pure virtual]
 

Returns:
the name of this entry

Implemented in KProtocolInfo, KService, KServiceGroup, and KServiceType.

void KSycocaEntry::read QDataStream &    s,
QString &    str
[static]
 

Safe demarshalling functions.


The documentation for this class was generated from the following file:
Generated on Wed Aug 13 23:30:26 2003 for kdelibs by doxygen1.2.18