}
}
m_url = tmp;
- m_dirty = false;
- emit docModified(false);
+ setModified(false);
return true;
}
KRandomSequence* rs;
rs = new KRandomSequence();
rs->randomize(m_vocabulary);
- m_dirty = true;
+ setModified();
}
#include "keduvocdocument.moc"
* @param expression expression to append
*/
inline void appendEntry (KEduVocExpression *expression)
- { m_vocabulary.append(*expression); m_dirty = true; }
+ { m_vocabulary.append(*expression); setModified(); }
/**
* Inserts a new expression
* @param index index of entry
*/
inline void insertEntry(KEduVocExpression *expression, int index)
- { m_vocabulary.insert(index, *expression); m_dirty = true; }
+ { m_vocabulary.insert(index, *expression); setModified(); }
/**
* Removes an expression from the document
* Removes all expressions from the document (clears vocabulary)
*/
inline void removeAllEntries()
- { m_vocabulary.clear(); m_dirty = true; }
+ { m_vocabulary.clear(); setModified(); }
/**
* Sorts vocabulary alphabetically