KDECore
loader.cpp
Go to the documentation of this file.
void configurationChanged()
Signal is emitted whenever the Settings object associated with this Loader changes.
int indexOf(QChar ch, int from, Qt::CaseSensitivity cs) const
virtual SpellerPlugin * createSpeller(const QString &language)=0
Returns a dictionary for the given language.
const T & next()
#define I18N_NOOP2(comment, x)
If the string is too ambiguous to be translated well to a non-english language, use this instead of I...
Definition: klocalizedstring.h:72
static KServiceTypeTrader * self()
This is a static pointer to the KServiceTypeTrader singleton.
Definition: kservicetypetrader.cpp:37
#define K_GLOBAL_STATIC(TYPE, NAME)
This macro makes it easy to use non-POD types as global statics.
Definition: kglobal.h:221
QString countryCodeToName(const QString &country) const
Convert a known country code to a human readable, localized form.
Definition: klocale.cpp:680
virtual QString name() const =0
QString languageCodeToName(const QString &language) const
Convert a known language code to a human readable, localized form.
Definition: klocale.cpp:670
QString i18nc(const char *ctxt, const char *text)
Returns a localized version of a string and a context.
Definition: klocalizedstring.h:797
int count(const T &value) const
void append(const T &value)
bool isEmpty() const
bool isEmpty() const
Definition: kaboutdata.h:33
QStringList languageNames() const
Returns a localized list of names of supported languages.
Definition: loader.cpp:228
QString right(int n) const
iterator end()
KService::List query(const QString &servicetype, const QString &constraint=QString()) const
The main function in the KServiceTypeTrader class.
Definition: kservicetypetrader.cpp:134
QString mid(int position, int n) const
Settings * settings() const
Returns the Settings object used by the loader.
Definition: loader.cpp:248
typedef ConstIterator
int length() const
QString languageNameForCode(const QString &langCode) const
Definition: loader.cpp:128
SpellerPlugin * createSpeller(const QString &language=QString(), const QString &client=QString()) const
Returns dictionary for the given language and preferred client.
Definition: loader.cpp:81
QString left(int n) const
QString fromLatin1(const char *str, int size)
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
iterator begin()
Definition: client_p.h:43
bool hasNext() const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:22:12 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:12 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.