kdecore Library API Documentation

KSycocaEntry Class Reference

Base class for all Sycoca entries. More...

#include <ksycocaentry.h>

Inheritance diagram for KSycocaEntry:

KShared List of all members.

Public Methods

 KSycocaEntry (const QString &path)
 Default constructor.

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)
 Safe demarshalling functions.


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

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

Safe demarshalling functions.

Definition at line 426 of file ksycoca.cpp.

References QDataStream::readRawBytes(), QString::setLength(), and QString::unicode().

virtual QString KSycocaEntry::name   [pure virtual]
 

Returns:
the name of this entry

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.

virtual bool KSycocaEntry::isValid   [pure virtual]
 

Returns:
true if valid

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

Returns:
true if deleted

Definition at line 89 of file ksycocaentry.h.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kdelibs Version 3.1.0.
Documentation copyright © 1996-2002 the KDE developers.
Generated on Wed Oct 8 12:20:47 2003 by doxygen 1.2.18 written by Dimitri van Heesch, © 1997-2001