KDECore
kconfigbackend.cpp
Go to the documentation of this file.
74 KService::List offers = KServiceTypeTrader::self()->query(QLatin1String("KConfigBackend"), constraint);
76 //qDebug() << "found" << offers.count() << "offers for KConfigBackend plugins with name" << system;
Definition: kconfigdata.h:152
static KServiceTypeTrader * self()
This is a static pointer to the KServiceTypeTrader singleton.
Definition: kservicetypetrader.cpp:37
void setLocalFilePath(const QString &file)
Definition: kconfigbackend.cpp:128
bool isEmpty() const
Provides the implementation for accessing configuration sources.
Definition: kconfigbackend.h:55
void setLastModified(const QDateTime &dt)
Definition: kconfigbackend.cpp:108
KService::List query(const QString &servicetype, const QString &constraint=QString()) const
The main function in the KServiceTypeTrader class.
Definition: kservicetypetrader.cpp:134
QString fromLatin1(const char *str, int size)
static void registerMappings(const KEntryMap &entryMap)
Registers mappings from directories/files to configuration systems.
Definition: kconfigbackend.cpp:60
int compare(const QString &other) const
static KSharedPtr< KConfigBackend > create(const KComponentData &componentData, const QString &fileName=QString(), const QString &system=QString())
Creates a new KConfig backend.
Definition: kconfigbackend.cpp:64
QString arg(qlonglong a, int fieldWidth, int base, const QChar &fillChar) const
T * createInstance(QObject *parent=0, const QVariantList &args=QVariantList(), QString *error=0) const
This template allows to load the library for the specified service and ask the factory to create an i...
Definition: kservice.h:547
Definition: kconfigini_p.h:30
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:22:11 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:22:11 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.