libkdeedu/keduvocdocument
KEduVocLesson Class Reference
#include <keduvoclesson.h>
Detailed Description
class to store information about a lessonDefinition at line 30 of file keduvoclesson.h.
Public Member Functions | |
| KEduVocLesson () | |
| KEduVocLesson (const KEduVocLesson &other) | |
| ~KEduVocLesson () | |
| KEduVocLesson & | operator= (const KEduVocLesson &) |
| void | setName (const QString &name) |
| QString | name () |
| QList< int > | entries () |
| int | entryCount () |
| void | addEntry (int entryid) |
| void | removeEntry (int entryid) |
| void | incrementEntriesAbove (int entryid) |
| void | decrementEntriesAbove (int entryid) |
| bool | inPractice () |
| void | setInPractice (bool inPractice) |
| bool | operator== (const KEduVocLesson &other) |
Constructor & Destructor Documentation
| KEduVocLesson::KEduVocLesson | ( | ) | [explicit] |
| KEduVocLesson::KEduVocLesson | ( | const KEduVocLesson & | other | ) |
| KEduVocLesson::~KEduVocLesson | ( | ) |
Member Function Documentation
| KEduVocLesson & KEduVocLesson::operator= | ( | const KEduVocLesson & | other | ) |
| void KEduVocLesson::setName | ( | const QString & | name | ) |
set the lesson name
- Parameters:
-
name text to set for the name
Definition at line 66 of file keduvoclesson.cpp.
| QString KEduVocLesson::name | ( | ) |
| QList< int > KEduVocLesson::entries | ( | ) |
| int KEduVocLesson::entryCount | ( | ) |
| void KEduVocLesson::addEntry | ( | int | entryid | ) |
add an entry to the lesson
- Parameters:
-
entryid id of the entry to add
Definition at line 86 of file keduvoclesson.cpp.
| void KEduVocLesson::removeEntry | ( | int | entryid | ) |
remove an entry from the lesson
- Parameters:
-
entryid id of the entry to remove
Definition at line 91 of file keduvoclesson.cpp.
| void KEduVocLesson::incrementEntriesAbove | ( | int | entryid | ) |
increments all entryids > entryid, because their entryid has been incremented
- Parameters:
-
entryid id of the entry that was inserted
Definition at line 96 of file keduvoclesson.cpp.
| void KEduVocLesson::decrementEntriesAbove | ( | int | entryid | ) |
decrements all etryids > entryid, because their entryid has been decremented
- Parameters:
-
entryid id of the entry that was removed
Definition at line 111 of file keduvoclesson.cpp.
| bool KEduVocLesson::inPractice | ( | ) |
Definition at line 134 of file keduvoclesson.cpp.
| void KEduVocLesson::setInPractice | ( | bool | inPractice | ) |
Definition at line 139 of file keduvoclesson.cpp.
| bool KEduVocLesson::operator== | ( | const KEduVocLesson & | other | ) |
The documentation for this class was generated from the following files:
KDE 4.0 API Reference