*/
QFont* font() const;
- inline void queryLang(QString &org, QString &trans) const
+ /**
+ * Retrieves the identifiers for the current query
+ *
+ * @param org identifier for original
+ * @param trans identifier for translation
+ */
+ inline void queryIdentifier(QString &org, QString &trans) const
{ org = m_queryorg; trans = m_querytrans; }
- inline void setQueryLang(const QString &org, const QString &trans)
+ /**
+ * Sets the identifiers for the current query
+ *
+ * @param org identifier for original
+ * @param trans identifier for translation
+ */
+ inline void setQueryIdentifier(const QString &org, const QString &trans)
{ m_queryorg = org; m_querytrans = trans; }
/**
domElementExpressionChild = domElementExpressionChild.nextSibling().toElement();
}
if (m_doc->numEntries() == 0)
- m_doc->setQueryLang(q_org, q_trans);
+ m_doc->setQueryIdentifier(q_org, q_trans);
m_doc->m_vocabulary.push_back(expr);
return true;
QString q_org, q_trans;
QList<KEduVocExpression>::const_iterator first = m_doc->m_vocabulary.begin ();
- m_doc->queryLang(q_org, q_trans);
+ m_doc->queryIdentifier(q_org, q_trans);
int ent_no = 0;
int ent_percent = (int) m_doc->m_vocabulary.size () / 100;