class KSycocaEntry

Base class for all entries. More...

Contains pure virtuals
Definition#include <ksycocafactory.h>
InheritsKShared (kdecore)
Inherited byKDEDesktopMimeType, KExecMimeType, KFolderType, KMimeType, KService, KServiceType
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Protected Members


Detailed Description

Base class for all entries. You can't create instance of KSycocaEntry, but it provides the common functionality for servicetypes and services.

KSycocaEntry () : mOffset(0), m_bDeleted(false)

Default constructor

KSycocaEntry ( QDataStream &, int offset ) : mOffset( offset ), m_bDeleted(false)

Restores itself from a stream.

QString name ()
[const pure virtual]

Returns: the name of this entry

bool isValid ()
[const pure virtual]

Returns: true if valid

bool isDeleted ()
[const virtual]

Returns: true if deleted

int offset ()

Returns: the position of the entry in the sycoca file

void save (QDataStream &s)
[virtual]

Save ourselves to the database. Don't forget to call the parent class first if you override this function.

void load (QDataStream &)
[pure virtual]

Load ourselves from the database. Don't call the parent class!


Generated by: root@tantive.terraplex.com on Sun Feb 27 17:39:31 2000, using kdoc 2.0a33.