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

kded

Public Member Functions | Static Public Member Functions | List of all members
KBuildServiceGroupFactory Class Reference

#include <kbuildservicegroupfactory.h>

Inherits KServiceGroupFactory.

Public Member Functions

 KBuildServiceGroupFactory ()
 
virtual KServiceGroup * createEntry (const TQString &, const char *)
 
virtual KServiceGroup * createEntry (int)
 
void addNewEntryTo (const TQString &menuName, KService *newEntry)
 
KServiceGroup * addNewChild (const TQString &parent, const char *resource, KSycocaEntry *newEntry)
 
KServiceGroup * addNew (const TQString &menuName, const TQString &file, KServiceGroup *entry, bool isDeleted)
 
virtual void addEntry (KSycocaEntry *newEntry, const char *resource)
 
virtual void save (TQDataStream &str)
 
virtual void saveHeader (TQDataStream &str)
 

Static Public Member Functions

static TQStringList resourceTypes ()
 

Detailed Description

Service group factory for building tdesycoca.

Definition at line 30 of file kbuildservicegroupfactory.h.

Constructor & Destructor Documentation

◆ KBuildServiceGroupFactory()

KBuildServiceGroupFactory::KBuildServiceGroupFactory ( )

Create factory.

Definition at line 31 of file kbuildservicegroupfactory.cpp.

◆ ~KBuildServiceGroupFactory()

KBuildServiceGroupFactory::~KBuildServiceGroupFactory ( )
virtual

Definition at line 45 of file kbuildservicegroupfactory.cpp.

Member Function Documentation

◆ addEntry()

void KBuildServiceGroupFactory::addEntry ( KSycocaEntry *  newEntry,
const char *  resource 
)
virtual

Add a new menu entry.

Definition at line 143 of file kbuildservicegroupfactory.cpp.

◆ addNew()

KServiceGroup * KBuildServiceGroupFactory::addNew ( const TQString &  menuName,
const TQString &  file,
KServiceGroup *  entry,
bool  isDeleted 
)

Add new menu menuName defined by file When entry is non-null it is re-used, otherwise a new group is created.

A pointer to the group is returned.

Definition at line 75 of file kbuildservicegroupfactory.cpp.

◆ addNewChild()

KServiceGroup * KBuildServiceGroupFactory::addNewChild ( const TQString &  parent,
const char *  resource,
KSycocaEntry *  newEntry 
)

Adds the entry newEntry to the "parent group" parent, creating the group if necassery.

A "parent group" is a group of services that all have the same "X-TDE-ParentApp".

Definition at line 121 of file kbuildservicegroupfactory.cpp.

◆ addNewEntryTo()

void KBuildServiceGroupFactory::addNewEntryTo ( const TQString &  menuName,
KService *  newEntry 
)

Adds the entry newEntry to the menu menuName.

Definition at line 59 of file kbuildservicegroupfactory.cpp.

◆ createEntry() [1/2]

KServiceGroup * KBuildServiceGroupFactory::createEntry ( const TQString &  ,
const char *   
)
virtual

Create new entry.

Definition at line 51 of file kbuildservicegroupfactory.cpp.

◆ createEntry() [2/2]

virtual KServiceGroup * KBuildServiceGroupFactory::createEntry ( int  )
inlinevirtual

Definition at line 45 of file kbuildservicegroupfactory.h.

◆ resourceTypes()

TQStringList KBuildServiceGroupFactory::resourceTypes ( )
static

Returns all resource types for this service factory.

Definition at line 40 of file kbuildservicegroupfactory.cpp.

◆ save()

void KBuildServiceGroupFactory::save ( TQDataStream &  str)
virtual

Write out servicegroup specific index files.

Definition at line 164 of file kbuildservicegroupfactory.cpp.

◆ saveHeader()

void KBuildServiceGroupFactory::saveHeader ( TQDataStream &  str)
virtual

Write out header information.

Definition at line 156 of file kbuildservicegroupfactory.cpp.


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

kded

Skip menu "kded"
  • Main Page
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

kded

Skip menu "kded"
  • 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 kded by doxygen 1.9.4
This website is maintained by Timothy Pearson.