svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=847462
return d->m_tenseDescriptions[index];
}
-void KEduVocDocument::setTenseName(int index, const QString & tense)
-{
- if ( index >= d->m_tenseDescriptions.size() ) {
- for ( int i = d->m_tenseDescriptions.size(); i <= index; i++ ) {
- d->m_tenseDescriptions.append( "" );
- }
- }
-
- d->m_tenseDescriptions[index] = tense;
- setModified(true);
-}
-
QStringList KEduVocDocument::tenseDescriptions() const
{
return d->m_tenseDescriptions;
// *** tense methods ***
- /**
- * Set the name of a tense
- * @param index number of tense
- * @param tense name of tense
- */
- void setTenseName( int index, const QString &tense );
-
/**
* Returns the tense string
*