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

tdecore

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

#include <tdesycocaentry.h>

Inheritance diagram for KSycocaEntry:
TDEShared

Public Types

typedef TDESharedPtr< 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 TDEShared
 TDEShared ()
 
 TDEShared (const TDEShared &)
 
TDEShared & operator= (const TDEShared &)
 
void _TDEShared_ref () const
 
void _TDEShared_unref () const
 
int _TDEShared_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 tdesycocaentry.h.

Member Typedef Documentation

◆ List

typedef TQValueList<Ptr> KSycocaEntry::List

Definition at line 46 of file tdesycocaentry.h.

◆ Ptr

typedef TDESharedPtr<KSycocaEntry> KSycocaEntry::Ptr

Definition at line 45 of file tdesycocaentry.h.

Constructor & Destructor Documentation

◆ KSycocaEntry() [1/2]

KSycocaEntry::KSycocaEntry ( const TQString &  path)
inline

Default constructor.

Definition at line 51 of file tdesycocaentry.h.

◆ KSycocaEntry() [2/2]

KSycocaEntry::KSycocaEntry ( TQDataStream &  _str,
int  offset 
)
inline

Definition at line 63 of file tdesycocaentry.h.

Member Function Documentation

◆ entryPath()

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 tdesycocaentry.h.

◆ isDeleted()

virtual bool KSycocaEntry::isDeleted ( ) const
inlinevirtual
Returns
true if deleted

Definition at line 89 of file tdesycocaentry.h.

◆ isType()

virtual bool KSycocaEntry::isType ( KSycocaType  t) const
inlinevirtual

Definition at line 41 of file tdesycocaentry.h.

◆ isValid()

virtual bool KSycocaEntry::isValid ( ) const
pure virtual
Returns
true if valid

◆ name()

virtual TQString KSycocaEntry::name ( ) const
pure virtual
Returns
the name of this entry

◆ offset()

int KSycocaEntry::offset ( )
inline

Definition at line 95 of file tdesycocaentry.h.

◆ read() [1/2]

void KSycocaEntry::read ( TQDataStream &  s,
TQString &  str 
)
static

Safe demarshalling functions.

Definition at line 474 of file tdesycoca.cpp.

◆ read() [2/2]

void KSycocaEntry::read ( TQDataStream &  s,
TQStringList &  list 
)
static

Definition at line 499 of file tdesycoca.cpp.

◆ save()

virtual void KSycocaEntry::save ( TQDataStream &  s)
inlinevirtual

Definition at line 102 of file tdesycocaentry.h.

◆ sycocaType()

virtual KSycocaType KSycocaEntry::sycocaType ( ) const
inlinevirtual

Definition at line 42 of file tdesycocaentry.h.

◆ virtual_hook()

void KSycocaEntry::virtual_hook ( int  id,
void *  data 
)
protectedvirtual

Definition at line 525 of file tdesycoca.cpp.

Friends And Related Function Documentation

◆ KSycocaType

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 tdesycocatype.h.

Member Data Documentation

◆ m_bDeleted

bool KSycocaEntry::m_bDeleted
protected

Definition at line 117 of file tdesycocaentry.h.

◆ mPath

TQString KSycocaEntry::mPath
protected

Definition at line 118 of file tdesycocaentry.h.


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

tdecore

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

tdecore

Skip menu "tdecore"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdecore by doxygen 1.9.4
This website is maintained by Timothy Pearson.