• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • kdecore
 

kdecore

Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Related Functions | List of all members
KSycocaEntry Class Referenceabstract

#include <ksycocaentry.h>

Inheritance diagram for KSycocaEntry:
KShared

Public Types

typedef KSharedPtr< KSycocaEntry > Ptr
 
typedef TQValueList< Ptr > List
 

Public Member Functions

virtual bool isType (KSycocaType t) const
 
virtual KSycocaType sycocaType () const
 
 KSycocaEntry (const TQString &path)
 
 KSycocaEntry (TQDataStream &_str, int offset)
 
virtual TQString name () const =0
 
TQString entryPath () const
 
virtual bool isValid () const =0
 
virtual bool isDeleted () const
 
int offset ()
 
virtual void save (TQDataStream &s)
 
virtual void load (TQDataStream &)=0
 
- Public Member Functions inherited from KShared
 KShared ()
 
 KShared (const KShared &)
 
KShared & operator= (const KShared &)
 
void _KShared_ref () const
 
void _KShared_unref () const
 
int _KShared_count () const
 

Static Public Member Functions

static void read (TQDataStream &s, TQString &str)
 
static void read (TQDataStream &s, TQStringList &list)
 

Protected Member Functions

virtual void virtual_hook (int id, void *data)
 

Protected Attributes

bool m_bDeleted
 
TQString mPath
 

Related Functions

(Note that these are not member functions.)

enum  KSycocaType
 

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 TQString &  path)
inline

Default constructor.

Definition at line 51 of file ksycocaentry.h.

Member Function Documentation

TQString 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::isDeleted ( ) const
inlinevirtual
Returns
true if deleted

Definition at line 89 of file ksycocaentry.h.

virtual bool KSycocaEntry::isValid ( ) const
pure virtual
Returns
true if valid
virtual TQString KSycocaEntry::name ( ) const
pure virtual
Returns
the name of this entry
void KSycocaEntry::read ( TQDataStream &  s,
TQString &  str 
)
static

Safe demarshalling functions.

Definition at line 474 of file ksycoca.cpp.

Friends And Related Function Documentation

enum KSycocaType
related

A KSycocaType is a code (out of the KSycocaType enum) assigned to each class type derived from KSycocaEntry . To use it, call the macro K_SYCOCATYPE( your_typecode, parent_class ) at the top of your class definition.

Definition at line 31 of file ksycocatype.h.


The documentation for this class was generated from the following files:
  • ksycocaentry.h
  • ksycoca.cpp

kdecore

Skip menu "kdecore"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdecore

Skip menu "kdecore"
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for kdecore by doxygen 1.8.8
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |