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
QStringList strings() const
Returns the list of all strings stored for all languages.
Definition: ktranslatable.cpp:101
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
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
KLocale * locale()
QStringList languageList() const
QStringList languages() const
Returns the list of all languages for which strings are stored.
Definition: ktranslatable.cpp:96
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:50:48 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:50:48 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.