18 #ifndef __tdebuildsycoca_h__
19 #define __tdebuildsycoca_h__
28 #include <tdesycoca.h>
29 #include <tdesycocatype.h>
30 #include <tdesycocaentry.h>
31 #include <kservicegroup.h>
33 #include "vfolder_menu.h"
38 class KBuildSycoca :
public KSycoca
43 virtual ~KBuildSycoca();
50 static bool checkTimestamps( TQ_UINT32 timestamp,
const TQStringList &dirs );
52 static TQStringList existingResourceDirs();
54 void setTrackId(
const TQString &
id) { m_trackId = id; }
57 void slotCreateEntry(
const TQString &file, KService **entry);
64 void processGnomeVfs();
70 KSycocaEntry *createEntry(
const TQString &file,
bool addToFactory);
75 void createMenu(TQString caption, TQString name, VFolderMenu::SubMenu *menu);
92 static bool checkDirTimestamps(
const TQString& dir,
const TQDateTime& stamp,
bool top );
98 virtual bool isBuilding() {
return true; }
100 TQStringList m_allResourceDirs;