KNewStuff
ktranslatable.cpp
Go to the documentation of this file.
bool isTranslated() const
Returns whether the content provides alternative (translated) strings.
Definition: ktranslatable.cpp:111
bool contains(const Key &key) const
QStringList strings() const
Returns the list of all strings stored for all languages.
Definition: ktranslatable.cpp:101
QList< T > values() const
String class with multiple localized representations.
Definition: ktranslatable.h:41
QMap< QString, QString > stringmap() const
Returns a map of all languages and their strings.
Definition: ktranslatable.cpp:106
void addString(const QString &lang, const QString &string)
Adds a string to the contents of this object.
Definition: ktranslatable.cpp:59
QString translated(const QString &lang) const
Returns the string which matches most closely the specified language.
Definition: ktranslatable.cpp:89
QList< Key > keys() const
QString language() const
Returns the language which most likely resembles the current language.
Definition: ktranslatable.cpp:77
KTranslatable & operator=(const KTranslatable &)
Definition: ktranslatable.cpp:39
QString representation() const
Returns the string which matches most closely the current language.
Definition: ktranslatable.cpp:64
iterator begin()
iterator end()
KLocale * locale()
QStringList languageList() const
QStringList languages() const
Returns the list of all languages for which strings are stored.
Definition: ktranslatable.cpp:96
typedef ConstIterator
bool isEmpty() const
int count(const Key &key) const
iterator begin()
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:25:43 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:25:43 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.