libkdeedu/keduvocdocument
keduvoctext.cpp
Go to the documentation of this file.
190 KEduVocKvtml2Writer::appendTextElement( gradeElement, KVTML_CURRENTGRADE, QString::number( grade() ) );
193 KEduVocKvtml2Writer::appendTextElement( gradeElement, KVTML_COUNT, QString::number( practiceCount() ) );
196 KEduVocKvtml2Writer::appendTextElement( gradeElement, KVTML_ERRORCOUNT, QString::number( badCount() ) );
199 KEduVocKvtml2Writer::appendTextElement( gradeElement, KVTML_DATE, practiceDate().toString( Qt::ISODate ) );
void incPracticeCount()
increment query count of given translation by 1
Definition: keduvoctext.cpp:113
void incBadCount()
increment bad query count of given translation by 1
Definition: keduvoctext.cpp:119
bool operator==(const KEduVocText &other) const
Compare two sets of grades.
Definition: keduvoctext.cpp:165
static void appendTextElement(QDomElement &parent, const QString &elementName, const QString &text)
Helper function, appends a new element AND a text child to parent Only appends if text is NOT empty...
Definition: keduvockvtml2writer.cpp:654
KEduVocText & operator=(const KEduVocText &other)
Equal operator to copy grades.
Definition: keduvoctext.cpp:154
count_t practiceCount() const
returns how often this entry has been practiced as int
Definition: keduvoctext.cpp:107
void setPracticeCount(count_t count)
set how often this entry has been practiced as int
Definition: keduvoctext.cpp:125
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:37:21 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:37:21 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.