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

libkdeedu/keduvocdocument

keduvoclesson.h

Go to the documentation of this file.
00001 /***************************************************************************
00002               manage lessons
00003     -----------------------------------------------------------------------
00004 
00005     begin        : August 11, 2007
00006 
00007     copyright    : (C) 2007 Jeremy Whiting <jeremywhiting@scitools.com>
00008 
00009     -----------------------------------------------------------------------
00010  ***************************************************************************/
00011 
00012 /***************************************************************************
00013  *                                                                         *
00014  *   This program is free software; you can redistribute it and/or modify  *
00015  *   it under the terms of the GNU General Public License as published by  *
00016  *   the Free Software Foundation; either version 2 of the License, or     *
00017  *   (at your option) any later version.                                   *
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

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