* Default constructor for an empty translation.
*/
KEduVocTranslation( );
-
+
/**
* Constructor
* @param translation is used as translation
*/
KEduVocTranslation( const QString &translation );
-
+
/** copy constructor for d-pointer safet */
KEduVocTranslation( const KEduVocTranslation &other);
/** sets the pronunciation of this expression
- *
- * @param index index of expression
* @param expression pronunciation of this index
*/
void setPronunciation( const QString & expression);
/** returns the pronunciation of this expression
- *
- * @param index index of expression
* @return pronunciation or "" if none available
*/
QString pronunciation() const;
/** returns comments of this expression
- *
- * @param index index of expression
* @return comment or "" if no comment available
*/
QString comment() const;
/** sets comment of this expression
- *
- * @param index index of expression
* @param expr comment of this index
*/
void setComment( const QString & expr);
/** sets false friend of this expression
- *
- * @param index index of expression
* @param indexint indexFrom index of original translation
* @param expression false friend of this index
*/
void setFalseFriend( int indexFrom, const QString & expression );
- /** returns false friend of this expression
- *
- * @param index index of expression
-
- * @return false friend or "" if no string available
+ /**
+ * returns false friend of this expression
+ * @param indexFrom index of original translation
+ * @return false friend or "" if no string available
*/
QString falseFriend( int indexFrom) const;
/** sets synonym this expression
- *
- * @param index index of expression
* @param expression synonym of this index
*/
void setSynonym( const QString & expression);
/** returns synonym of this expression
- *
- * @param index index of expression
* @return synonym or "" if no string available
*/
QString synonym() const;
/** sets example this expression
- *
- * @param index index of expression
* @param expression example of this index
*/
void setExample( const QString & expression);
/** returns example of this expression
- *
- * @param index index of expression
* @return example or "" if no string available
*/
QString example() const;
/** sets usage label this expression
- *
- * @param index index of expression
* @param usage usage label of this index
*/
void setUsageLabel( const QString & usage);
/** returns usage label of this expression
- *
- * @param index index of expression
* @return usage or "" if no string available
*/
QString usageLabel() const;
/** sets paraphrase of this expression
- *
- * @param index index of expression
* @param expression paraphrase of this index
*/
void setParaphrase( const QString & expression);
/** returns paraphrase of this expression
- *
- * @param index index of expression
* @return paraphrase or "" if no string available
*/
QString paraphrase() const;
/** sets antonym this expression
- *
- * @param index index of expression
* @param expression antonym of this index
*/
void setAntonym( const QString & expression);
/** returns antonym of this expression
- *
- * @param index index of expression
* @return antonym or "" if no string available
*/
QString antonym() const;
QString type() const;
/** sets type of this expression
- *
- * @param index index of type
* @param type type of this expression ("" = none)
*/
void setType( const QString &type);
/** returns conjugations if available
- *
- * @param index index of translation
*/
KEduVocConjugation conjugation() const;
/** sets conjugations
- *
- * @param index index of translation
* @param conjugation conjugation block
*/
void setConjugation(const KEduVocConjugation & conjugation);
/** returns comparison if available
- *
- * @param index index of translation
*/
KEduVocComparison comparison() const;
/** sets comparison
- *
- * @param index index of translation
* @param comparison comparison block
*/
void setComparison( const KEduVocComparison & comparison);
/** returns multiple choice if available
- *
- * @param index index of multiple choice
*/
KEduVocMultipleChoice multipleChoice() const;
/** sets multiple choice
- *
- * @param index index of translation
* @param mc multiple choice block
*/
void setMultipleChoice( const KEduVocMultipleChoice &mc);