svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=847461
return d->m_tenseDescriptions;
}
-void KEduVocDocument::setTenseDescriptions( const QStringList &names )
-{
- d->m_tenseDescriptions = names;
- setModified(true);
-}
-
// works if const is removed
int KEduVocDocument::indexOfIdentifier( const QString &name ) const
{
return -1;
}
-
void KEduVocDocument::removeIdentifier( int index )
{
if ( index < d->m_identifiers.size() && index >= 0 ) {
*/
QString tenseName( int index ) const;
- /**
- * Sets the description of the tenses
- */
- void setTenseDescriptions( const QStringList &names );
-
/**
* Gets the descriptions of the tenses
*/
}
}
- m_doc->setTenseDescriptions(m_compability.documentTenses());
+ for(int i = 0; i < m_doc->identifierCount(); i++) {
+ m_doc->identifier(i).setTenseList(m_compability.documentTenses());
+ }
return true;
}
return true;
}
-
+/*
bool KEduVocKvtmlWriter::writeTense( QDomElement &domElementParent )
{
if ( m_doc->tenseDescriptions().count() == 0 )
domElementParent.appendChild( domElementTense );
return true;
}
-
+*/
bool KEduVocKvtmlWriter::writeUsage( QDomElement &domElementParent )
{