Make the article test work so far.
Only wrong answers don't count as wrong right now. (Before the dialog showed up and was completely disabled).
svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=714236
{
setFemale( fem_def, fem_indef );
setMale( mal_def, mal_indef );
- setNatural( nat_def, nat_indef );
+ setNeutral( nat_def, nat_indef );
}
KEduVocArticle::~KEduVocArticle()
}
-void KEduVocArticle::setNatural( const QString &def, const QString &indef )
+void KEduVocArticle::setNeutral( const QString &def, const QString &indef )
{
d->nat_def = def;
d->nat_indef = indef;
}
-void KEduVocArticle::getNatural( QString *def, QString *indef ) const
+void KEduVocArticle::getNeutral( QString *def, QString *indef ) const
{
if ( def )
*def = d->nat_def;
* @param def const reference to a QString with the definite neutral article
* @param indef const reference to a QString with the indefinite neutral article
*/
- void setNatural( const QString &def, const QString &indef );
+ void setNeutral( const QString &def, const QString &indef );
/** get the female articles
* @param def pointer to the definite form
* @param def pointer to the definite form
* @param indef pointer to the indefinite form
*/
- void getNatural( QString *def, QString *indef ) const;
+ void getNeutral( QString *def, QString *indef ) const;
/**
* assignment operator for d-pointer copying
}
// neutral
- m_doc->identifier(article).article().getNatural( &def, &indef );
+ m_doc->identifier(article).article().getNeutral( &def, &indef );
if ( !def.isEmpty() ) {
definite.appendChild( newTextElement( KVTML_NEUTRAL, def ) );
}
domElementEntry.appendChild( domElementMI );
}
- m_doc->identifier(i).article().getNatural( &def, &indef );
+ m_doc->identifier(i).article().getNeutral( &def, &indef );
if ( !def.isEmpty() ) {
QDomElement domElementND = domDoc.createElement( KV_ART_ND );
QDomText domTextND = domDoc.createTextNode( def );