parley
translator.cpp
Go to the documentation of this file.
33 void Translator::addTranslation(QString word, QString fromLanguage, QString toLanguage, QString translation)
45 QSet<QString>* Translator::getTranslation(QString word, QString fromLanguage, QString toLanguage)
bool contains(const Key &key) const
void callTranslateWord(const QString &word, const QString &fromLanguage, const QString &toLanguage)
Definition: parley.cpp:54
QString simplified() const
void addTranslation(QString word, QString fromLanguage, QString toLanguage, QString translation)
Stores the translation of word from language fromLanguage, to language toLanguage.
Definition: translator.cpp:33
bool isEmpty() const
QString trimmed() const
Parley scripting class (main entry point of a Parley Kross script)
Definition: parley.h:152
iterator insert(const Key &key, const T &value)
QSet< QString > * getTranslation(QString word, QString fromLanguage, QString toLanguage)
Returns a QStringList with all the translations of word from fromLanguage to toLanguage.
Definition: translator.cpp:45
const T value(const Key &key) const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:15:56 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:15:56 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.