KDECore
ksycoca.cpp
Go to the documentation of this file.
311 return self()->d->checkDatabase(KSycocaPrivate::IfNotFoundDoNothing/* don't open dummy db if not found */);
356 //kDebug(7011) << QThread::currentThread() << "got a notifyDatabaseChanged signal" << changeList;
397 kWarning(7011) << "Found version" << aVersion << ", expecting version" << KSYCOCA_VERSION << "or higher.";
419 const bool kdeinitRunning = QDBusConnection::sessionBus().interface()->isServiceRegistered(QString::fromLatin1("org.kde.klauncher"));
437 kDebug(7011) << QThread::currentThread() << "We have no database.... launching" << KBUILDSYCOCA_EXENAME;
532 QString path = KGlobal::dirs()->findResource("services", QString::fromLatin1(KSYCOCA_FILENAME));
static QString findExe(const QString &appname, const QString &pathstr=QString(), SearchOptions options=NoSearchOptions)
Finds the executable in the system path.
Definition kstandarddirs.cpp:1334
QString saveLocation(const char *type, const QString &suffix=QString(), bool create=true) const
Finds a location to save files into for the given type in the user's home directory.
Definition kstandarddirs.cpp:1484
QString findResource(const char *type, const QString &filename) const
Tries to find a resource in the following order:
Definition kstandarddirs.cpp:458
Definition ksycocadevices_p.h:26
virtual QIODevice * device()=0
Definition ksycocadevices_p.h:109
This, instead of a typedef, allows to declare "class ..." in header files.
Definition ksycocafactory.h:149
Definition ksycocafactory.h:37
Definition ksycocadevices_p.h:70
Definition ksycocadevices_p.h:91
Definition ksycoca_p.h:31
enum KSycocaPrivate::@155073054126367315305313113043044044266262002346 databaseStatus
enum KSycocaPrivate::@207214170034127354102136321131046251131315103235 m_sycocaStrategy
void setStrategyFromString(const QString &strategy)
Definition ksycoca.cpp:110
bool openDatabase(bool openDummyIfNotFound=true)
Definition ksycoca.cpp:189
bool checkDatabase(BehaviorsIfNotFound ifNotFound)
Definition ksycoca.cpp:408
Definition ksycoca.h:44
static bool isChanged(const char *type)
When you receive a "databaseChanged" signal, you can query here if a change has occurred in a specifi...
Definition ksycoca.cpp:347
static KSycoca * self()
Get or create the only instance of KSycoca (read-only)
Definition ksycoca.cpp:293
static QString absoluteFilePath(DatabaseType type=LocalDatabase)
Definition ksycoca.cpp:529
static OrgKdeKLauncherInterface * klauncher()
Returns the D-Bus interface of the service launcher.
#define K_GLOBAL_STATIC(TYPE, NAME)
This macro makes it easy to use non-POD types as global statics.
Definition kglobal.h:221
#define KSYCOCA_FILENAME
Sycoca file name, used internally (by kbuildsycoca)
Definition ksycoca.cpp:63
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Thu Jul 18 2024 00:00:00 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Thu Jul 18 2024 00:00:00 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.