KDECore
#include <ksycoca_p.h>
Public Types | |
enum | { DatabaseNotOpen, NoDatabase, BadVersion, DatabaseOK } |
enum | { StrategyMmap, StrategyMemFile, StrategyFile, StrategyDummyBuffer } |
enum | BehaviorIfNotFound { IfNotFoundDoNothing = 0, IfNotFoundOpenDummy = 1, IfNotFoundRecreate = 2 } |
Public Member Functions | |
KSycocaPrivate () | |
void | addFactory (KSycocaFactory *factory) |
bool | checkDatabase (BehaviorsIfNotFound ifNotFound) |
bool | checkVersion () |
void | closeDatabase () |
KSycocaAbstractDevice * | device () |
KSycocaFactoryList * | factories () |
bool | openDatabase (bool openDummyIfNotFound=true) |
void | setStrategyFromString (const QString &strategy) |
QDataStream *& | stream () |
bool | tryMmap () |
Public Attributes | |
QStringList | allResourceDirs |
QStringList | changeList |
enum KSycocaPrivate:: { ... } | databaseStatus |
QString | language |
QString | m_databasePath |
enum KSycocaPrivate:: { ... } | m_sycocaStrategy |
bool | readError |
quint32 | timeStamp |
quint32 | updateSig |
Detailed Description
Definition at line 30 of file ksycoca_p.h.
Member Enumeration Documentation
anonymous enum |
Enumerator | |
---|---|
DatabaseNotOpen | |
NoDatabase | |
BadVersion | |
DatabaseOK |
Definition at line 50 of file ksycoca_p.h.
anonymous enum |
Enumerator | |
---|---|
StrategyMmap | |
StrategyMemFile | |
StrategyFile | |
StrategyDummyBuffer |
Definition at line 58 of file ksycoca_p.h.
Enumerator | |
---|---|
IfNotFoundDoNothing | |
IfNotFoundOpenDummy | |
IfNotFoundRecreate |
Definition at line 36 of file ksycoca_p.h.
Constructor & Destructor Documentation
KSycocaPrivate::KSycocaPrivate | ( | ) |
Definition at line 86 of file ksycoca.cpp.
Member Function Documentation
|
inline |
Definition at line 65 of file ksycoca_p.h.
bool KSycocaPrivate::checkDatabase | ( | BehaviorsIfNotFound | ifNotFound | ) |
Definition at line 408 of file ksycoca.cpp.
bool KSycocaPrivate::checkVersion | ( | ) |
Definition at line 389 of file ksycoca.cpp.
void KSycocaPrivate::closeDatabase | ( | ) |
Definition at line 314 of file ksycoca.cpp.
KSycocaAbstractDevice * KSycocaPrivate::device | ( | ) |
Definition at line 229 of file ksycoca.cpp.
|
inline |
Definition at line 68 of file ksycoca_p.h.
Definition at line 189 of file ksycoca.cpp.
void KSycocaPrivate::setStrategyFromString | ( | const QString & | strategy | ) |
Definition at line 110 of file ksycoca.cpp.
QDataStream *& KSycocaPrivate::stream | ( | ) |
Definition at line 272 of file ksycoca.cpp.
bool KSycocaPrivate::tryMmap | ( | ) |
Definition at line 121 of file ksycoca.cpp.
Member Data Documentation
QStringList KSycocaPrivate::allResourceDirs |
Definition at line 63 of file ksycoca_p.h.
QStringList KSycocaPrivate::changeList |
Definition at line 60 of file ksycoca_p.h.
enum { ... } KSycocaPrivate::databaseStatus |
QString KSycocaPrivate::language |
Definition at line 61 of file ksycoca_p.h.
QString KSycocaPrivate::m_databasePath |
Definition at line 59 of file ksycoca_p.h.
enum { ... } KSycocaPrivate::m_sycocaStrategy |
bool KSycocaPrivate::readError |
Definition at line 55 of file ksycoca_p.h.
quint32 KSycocaPrivate::timeStamp |
Definition at line 57 of file ksycoca_p.h.
quint32 KSycocaPrivate::updateSig |
Definition at line 62 of file ksycoca_p.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:47:11 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.