std::sort (vocabulary.begin(), vocabulary.end(), sortByLessonAndOrg_alpha(sort_lesson, *this ));
sort_lesson = !sort_lesson;
return sort_lesson;*/
+ return false;
}
sort_lesson = !sort_lesson;
sort_lang[0] = sort_lesson;
return sort_lesson;*/
+ return false;
}
bool KEduVocDocument::leitnerSystemActive()
QList<int> KEduVocDocument::lessonsInQuery() const
{
QList<int> iqvec;
- for (unsigned i = 0; i < m_lessonsInQuery.size(); i++)
+ for (int i = 0; i < m_lessonsInQuery.size(); i++)
if (m_lessonsInQuery[i]) {
iqvec.push_back(i+1); // Offset <no lesson>
// cout << "getliq: " << i+1 << endl;
void KEduVocDocument::setLessonsInQuery(QList<int> lesson_iq)
{
m_lessonsInQuery.clear();
- for (unsigned i = 0; i < m_lessonDescriptions.size(); i++)
+ for (int i = 0; i < m_lessonDescriptions.size(); i++)
m_lessonsInQuery.push_back(false);
foreach( int i, lesson_iq )
return count;
}
+
+#include "keduvocdocument.moc"
// TODO Find the row height (g->rowHeight(w))
writeItem(m_doc->entry(w)->original(), m_doc->entry(w)->translation(1), 30);
}
+ return true;
}
void KEduVocWqlWriter::writeFont( const QFont & font )