bool m_dirty;
KUrl m_url;
- QList<bool> m_sortIdentifier;
- bool m_sortLesson;
// save these to document
QList<KEduVocIdentifier> m_identifiers;
m_lessons.clear();
m_tenseDescriptions.clear();
m_identifiers.clear();
- m_sortIdentifier.clear();
m_extraSizeHints.clear();
m_sizeHints.clear();
m_vocabulary.clear();
m_dirty = false;
- m_sortLesson = false;
m_currentLesson = 0;
m_queryorg = "";
m_querytrans = "";
}
}
-
KEduVocExpression::KEduVocExpression( const KEduVocExpression &expression )
: d( new KEduVocExpressionPrivate( *expression.d ) )
{}
-
KEduVocExpression::~KEduVocExpression()
{
delete d;
void KEduVocExpression::setTranslation( int index, const QString & expr )
{
- if ( index < 0 )
+ if ( index < 0 ) {
return;
-
-// extend translations with empty strings if necessary
-// for ( int i = d->m_translations.count(); i <= index; i++ ) {
-// d->m_translations[i] = KEduVocTranslation( "" );
-// }
-// if (index <= translations.count())
+ }
d->m_translations[index] = expr.simplified();
}
*/
void setTranslation( int index, const QString &expression );
- void setTranslation( const QString &identifier, const QString & expression );
+// void setTranslation( const QString &identifier, const QString & expression );
/** removes a translation
*