• Skip to content
  • Skip to link menu
KDE 4.0 API Reference
  • KDE API Reference
  • kdeedu
  • Sitemap
  • Contact Us
 

libkdeedu/keduvocdocument

KEduVocLesson Class Reference

#include <keduvoclesson.h>

List of all members.


Detailed Description

class to store information about a lesson

Definition 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]

default constructor

Definition at line 34 of file keduvoclesson.cpp.

KEduVocLesson::KEduVocLesson ( const KEduVocLesson &  other  ) 

copy constructor for d-pointer safe copying

Definition at line 38 of file keduvoclesson.cpp.

KEduVocLesson::~KEduVocLesson (  ) 

destructor

Definition at line 46 of file keduvoclesson.cpp.


Member Function Documentation

KEduVocLesson & KEduVocLesson::operator= ( const KEduVocLesson &  other  ) 

assignment operator

Definition at line 51 of file keduvoclesson.cpp.

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 (  ) 

get the lesson name

Definition at line 71 of file keduvoclesson.cpp.

QList< int > KEduVocLesson::entries (  ) 

get a list of all entries in the lesson

Definition at line 76 of file keduvoclesson.cpp.

int KEduVocLesson::entryCount (  ) 

get the number of entries in the lesson

Definition at line 81 of file keduvoclesson.cpp.

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  ) 

equality operator

Definition at line 59 of file keduvoclesson.cpp.


The documentation for this class was generated from the following files:
  • keduvoclesson.h
  • keduvoclesson.cpp

libkdeedu/keduvocdocument

Skip menu "libkdeedu/keduvocdocument"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdeedu

Skip menu "kdeedu"
  • kalzium
  • kanagram
  • kig
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  •   docs
  •   src
  • parley
Generated for kdeedu by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal