d->m_personalPronouns = pronouns;
}
-const QString& KEduVocIdentifier::tense(int tenseIndex) const
+QString KEduVocIdentifier::tense(int tenseIndex) const
{
Q_ASSERT(d->m_tenses.size() > tenseIndex);
return d->m_tenses.value(tenseIndex);
}
}
-const QStringList& KEduVocIdentifier::tenseList() const
+QStringList KEduVocIdentifier::tenseList() const
{
return d->m_tenses;
}
* @param tenseIndex desired tense
* @return name of the tense
*/
- const QString& tense(int tenseIndex) const;
+ QString tense(int tenseIndex) const;
/**
* Sets the name of a tense for this language
*/
void setTense(int tenseIndex, const QString& tense);
- const QStringList& tenseList() const;
+ QStringList tenseList() const;
void setTenseList(const QStringList& tenses);
temp = inputStream.readLine(); //DO NOT translate
}
- for ( i = 0; i <= 14; i++ ) {
+ for ( i = 0; i <= 14; ++i ) {
inputStream.readLine();
}
- for ( i = 0; i < wordCount - 1; i++ ) {
+ for ( i = 0; i < wordCount - 1; ++i ) {
int c = 0;
expression.clear();