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

kded

  • kded
kbuildsycoca.h
1 /* This file is part of the KDE libraries
2  * Copyright (C) 1999 David Faure <faure@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 2 as 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 #ifndef __kbuildsycoca_h__
19 #define __kbuildsycoca_h__
20 
21 #include <sys/stat.h>
22 
23 #include <tqobject.h>
24 #include <tqstring.h>
25 #include <tqdict.h>
26 
27 #include <kservice.h>
28 #include <ksycoca.h>
29 #include <ksycocatype.h>
30 #include <ksycocaentry.h>
31 #include <kservicegroup.h>
32 
33 #include "vfolder_menu.h"
34 
35 class TQDataStream;
36 
37 // No need for this in libkio - apps only get readonly access
38 class KBuildSycoca : public KSycoca
39 {
40  Q_OBJECT
41 public:
42  KBuildSycoca();
43  virtual ~KBuildSycoca();
44 
48  bool recreate();
49 
50  static bool checkTimestamps( TQ_UINT32 timestamp, const TQStringList &dirs );
51 
52  static TQStringList existingResourceDirs();
53 
54  void setTrackId(const TQString &id) { m_trackId = id; }
55 
56 protected slots:
57  void slotCreateEntry(const TQString &file, KService **entry);
58 
59 protected:
60 
64  void processGnomeVfs();
65 
70  KSycocaEntry *createEntry(const TQString &file, bool addToFactory);
71 
75  void createMenu(TQString caption, TQString name, VFolderMenu::SubMenu *menu);
76 
80  bool build();
81 
85  void save();
86 
90  void clear();
91 
92  static bool checkDirTimestamps( const TQString& dir, const TQDateTime& stamp, bool top );
93 
98  virtual bool isBuilding() { return true; }
99 
100  TQStringList m_allResourceDirs;
101  TQString m_trackId;
102 };
103 
104 #endif

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.3.1
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |