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

kded

  • kded
kbuildservicegroupfactory.h
1 /* This file is part of the KDE project
2  Copyright (C) 2000 Waldo Bastian <bastian@kde.org>
3 
4  This library is free software; you can redistribute it and/or
5  modify it under the terms of the GNU Library General Public
6  License version 2as published by the Free Software Foundation.
7 
8  This library is distributed in the hope that it will be useful,
9  but WITHOUT ANY WARRANTY; without even the implied warranty of
10  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11  Library General Public License for more details.
12 
13  You should have received a copy of the GNU Library General Public License
14  along with this library; see the file COPYING.LIB. If not, write to
15  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
16  Boston, MA 02110-1301, USA.
17 */
18 
19 #ifndef __k_build_service_group_factory_h__
20 #define __k_build_service_group_factory_h__
21 
22 #include <kservicegroupfactory.h>
23 #include <tqdict.h>
24 #include <tqstringlist.h>
25 
30 class KBuildServiceGroupFactory : public KServiceGroupFactory
31 {
32 public:
36  KBuildServiceGroupFactory();
37 
38  virtual ~KBuildServiceGroupFactory();
39 
43  virtual KServiceGroup * createEntry(const TQString &, const char *);
44 
45  virtual KServiceGroup * createEntry(int) { assert(0); return 0L; }
46 
50  void addNewEntryTo( const TQString &menuName, KService *newEntry);
51 
58  KServiceGroup *addNewChild( const TQString &parent, const char *resource, KSycocaEntry *newEntry);
59 
65  KServiceGroup *addNew( const TQString &menuName, const TQString& file, KServiceGroup *entry, bool isDeleted);
66 
70  virtual void addEntry( KSycocaEntry *newEntry, const char *resource );
71 
75  virtual void save(TQDataStream &str);
76 
80  virtual void saveHeader(TQDataStream &str);
81 
85  static TQStringList resourceTypes();
86 };
87 
88 #endif
KBuildServiceGroupFactory::addEntry
virtual void addEntry(KSycocaEntry *newEntry, const char *resource)
Add a new menu entry.
Definition: kbuildservicegroupfactory.cpp:143
KBuildServiceGroupFactory::createEntry
virtual KServiceGroup * createEntry(const TQString &, const char *)
Create new entry.
Definition: kbuildservicegroupfactory.cpp:51
KBuildServiceGroupFactory::addNewChild
KServiceGroup * addNewChild(const TQString &parent, const char *resource, KSycocaEntry *newEntry)
Adds the entry newEntry to the "parent group" parent, creating the group if necassery.
Definition: kbuildservicegroupfactory.cpp:121
KBuildServiceGroupFactory::KBuildServiceGroupFactory
KBuildServiceGroupFactory()
Create factory.
Definition: kbuildservicegroupfactory.cpp:31
KBuildServiceGroupFactory::saveHeader
virtual void saveHeader(TQDataStream &str)
Write out header information.
Definition: kbuildservicegroupfactory.cpp:156
KBuildServiceGroupFactory::save
virtual void save(TQDataStream &str)
Write out servicegroup specific index files.
Definition: kbuildservicegroupfactory.cpp:164
KBuildServiceGroupFactory::addNewEntryTo
void addNewEntryTo(const TQString &menuName, KService *newEntry)
Adds the entry newEntry to the menu menuName.
Definition: kbuildservicegroupfactory.cpp:59
KBuildServiceGroupFactory
Service group factory for building ksycoca.
Definition: kbuildservicegroupfactory.h:30
KBuildServiceGroupFactory::resourceTypes
static TQStringList resourceTypes()
Returns all resource types for this service factory.
Definition: kbuildservicegroupfactory.cpp:40
KBuildServiceGroupFactory::addNew
KServiceGroup * 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 ...
Definition: kbuildservicegroupfactory.cpp:75

kded

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

kded

Skip menu "kded"
  • 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 kded by doxygen 1.8.6
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |