KDED
KBuildSycoca Class Reference
#include <kbuildsycoca.h>
Public Member Functions | |
KBuildSycoca () | |
bool | recreate () |
void | setTrackId (const QString &id) |
virtual | ~KBuildSycoca () |
Static Public Member Functions | |
static bool | checkTimestamps (Q_UINT32 timestamp, const QStringList &dirs) |
static QStringList | existingResourceDirs () |
Protected Slots | |
void | slotCreateEntry (const QString &file, KService **entry) |
Protected Member Functions | |
bool | build () |
void | clear () |
KSycocaEntry * | createEntry (const QString &file, bool addToFactory) |
void | createMenu (QString caption, QString name, VFolderMenu::SubMenu *menu) |
virtual bool | isBuilding () |
void | processGnomeVfs () |
void | save () |
Static Protected Member Functions | |
static bool | checkDirTimestamps (const QString &dir, const QDateTime &stamp, bool top) |
Protected Attributes | |
QStringList | m_allResourceDirs |
QString | m_trackId |
Detailed Description
Definition at line 38 of file kbuildsycoca.h.
Constructor & Destructor Documentation
KBuildSycoca::KBuildSycoca | ( | ) |
Definition at line 130 of file kbuildsycoca.cpp.
KBuildSycoca::~KBuildSycoca | ( | ) | [virtual] |
Definition at line 135 of file kbuildsycoca.cpp.
Member Function Documentation
bool KBuildSycoca::build | ( | ) | [protected] |
bool KBuildSycoca::checkDirTimestamps | ( | const QString & | dir, | |
const QDateTime & | stamp, | |||
bool | top | |||
) | [static, protected] |
Definition at line 605 of file kbuildsycoca.cpp.
bool KBuildSycoca::checkTimestamps | ( | Q_UINT32 | timestamp, | |
const QStringList & | dirs | |||
) | [static] |
Definition at line 643 of file kbuildsycoca.cpp.
void KBuildSycoca::clear | ( | ) | [protected] |
Clear the factories.
KSycocaEntry * KBuildSycoca::createEntry | ( | const QString & | file, | |
bool | addToFactory | |||
) | [protected] |
Add single entry to the sycoca database.
Either from a previous database or regenerated from file.
Definition at line 187 of file kbuildsycoca.cpp.
void KBuildSycoca::createMenu | ( | QString | caption, | |
QString | name, | |||
VFolderMenu::SubMenu * | menu | |||
) | [protected] |
QStringList KBuildSycoca::existingResourceDirs | ( | ) | [static] |
Definition at line 659 of file kbuildsycoca.cpp.
virtual bool KBuildSycoca::isBuilding | ( | ) | [inline, protected, virtual] |
For internal use only.
- Returns:
- true if building (i.e. if a KBuildSycoca);
Reimplemented from KSycoca.
Definition at line 98 of file kbuildsycoca.h.
void KBuildSycoca::processGnomeVfs | ( | ) | [protected] |
bool KBuildSycoca::recreate | ( | ) |
void KBuildSycoca::save | ( | ) | [protected] |
void KBuildSycoca::setTrackId | ( | const QString & | id | ) | [inline] |
Definition at line 54 of file kbuildsycoca.h.
Definition at line 249 of file kbuildsycoca.cpp.
Member Data Documentation
QStringList KBuildSycoca::m_allResourceDirs [protected] |
Definition at line 100 of file kbuildsycoca.h.
QString KBuildSycoca::m_trackId [protected] |
Definition at line 101 of file kbuildsycoca.h.
The documentation for this class was generated from the following files: