libkdeedu/keduvocdocument
keduvoclesson.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef KEDUVOCLESSON_H
00022 #define KEDUVOCLESSON_H
00023
00024 #include "libkeduvocdocument_export.h"
00025
00026 #include <QtCore/QList>
00027 #include <QtCore/QString>
00028
00030 class KEDUVOCDOCUMENT_EXPORT KEduVocLesson
00031 {
00032 public:
00034 explicit KEduVocLesson();
00035
00037 KEduVocLesson( const KEduVocLesson &other );
00038
00040 ~KEduVocLesson();
00041
00043 KEduVocLesson& operator= ( const KEduVocLesson& );
00044
00048 void setName( const QString &name );
00049
00051 QString name();
00052
00054 QList<int> entries();
00055
00057 int entryCount();
00058
00062 void addEntry( int entryid );
00063
00067 void removeEntry( int entryid );
00068
00072 void incrementEntriesAbove( int entryid );
00073
00077 void decrementEntriesAbove( int entryid );
00078
00079 bool inPractice();
00080 void setInPractice( bool inPractice );
00081
00083 bool operator==(const KEduVocLesson &other);
00084
00085 private:
00086 class Private;
00087 Private * const d;
00088 };
00089
00090 #endif