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

libkdeedu/keduvocdocument

  • sources
  • kde-4.12
  • kdeedu
  • libkdeedu
  • keduvocdocument
keduvoclesson.h
Go to the documentation of this file.
1 /***************************************************************************
2 
3  Copyright 2007 Jeremy Whiting <jpwhiting@kde.org>
4  Copyright 2007 Frederik Gladhorn <frederik.gladhorn@kdemail.net>
5 
6  ***************************************************************************/
7 
8 /***************************************************************************
9  * *
10  * This program is free software; you can redistribute it and/or modify *
11  * it under the terms of the GNU General Public License as published by *
12  * the Free Software Foundation; either version 2 of the License, or *
13  * (at your option) any later version. *
14  * *
15  ***************************************************************************/
16 
17 #ifndef KEDUVOCLESSON_H
18 #define KEDUVOCLESSON_H
19 
20 #include "libkeduvocdocument_export.h"
21 
22 #include "keduvoccontainer.h"
23 
24 class KEduVocExpression;
25 
27 class KEDUVOCDOCUMENT_EXPORT KEduVocLesson :public KEduVocContainer
28 {
29 public:
31  explicit KEduVocLesson(const QString& name, KEduVocContainer *parent = 0);
32 
33 // void appendChildLesson(KEduVocLesson *child);
34 
35 // QList<KEduVocLesson *> childLessons();
36 // KEduVocLesson *childLesson(int row);
37 
38 // int childLessonCount() const;
39 
40 // int row() const;
41 // KEduVocLesson *parent();
42 
44  KEduVocLesson( const KEduVocLesson &other );
45 
47  ~KEduVocLesson();
48 
50  KEduVocLesson& operator= ( const KEduVocLesson& );
51 
52  KEduVocExpression* entry(int row, EnumEntriesRecursive recursive = NotRecursive);
53 
55  QList < KEduVocExpression* > entries(EnumEntriesRecursive recursive = NotRecursive);
56 
58  int entryCount(EnumEntriesRecursive recursive = NotRecursive);
59 
63  void appendEntry(KEduVocExpression* entry);
64 
70  void insertEntry(int index, KEduVocExpression* entry);
71 
75  void removeEntry(KEduVocExpression* entry);
76 
77 private:
78  class Private;
79  Private * const d;
80 };
81 
82 #endif
KEduVocLesson
class to store information about a lesson
Definition: keduvoclesson.h:27
KEduVocContainer
class to store information about a container - that can be a lesson or word types ...
Definition: keduvoccontainer.h:30
KEduVocContainer::entries
virtual QList< KEduVocExpression * > entries(EnumEntriesRecursive recursive=NotRecursive)=0
get a list of all entries in the container
libkeduvocdocument_export.h
KEDUVOCDOCUMENT_EXPORT
#define KEDUVOCDOCUMENT_EXPORT
Definition: libkeduvocdocument_export.h:32
KEduVocContainer::entry
virtual KEduVocExpression * entry(int row, EnumEntriesRecursive recursive=NotRecursive)=0
KEduVocContainer::operator=
KEduVocContainer & operator=(const KEduVocContainer &)
assignment operator
Definition: keduvoccontainer.cpp:136
KEduVocContainer::EnumEntriesRecursive
EnumEntriesRecursive
Definition: keduvoccontainer.h:42
KEduVocContainer::entryCount
virtual int entryCount(EnumEntriesRecursive recursive=NotRecursive)=0
KEduVocExpression
This class contains one vocabulary expression as an original with one or more translations.
Definition: keduvocexpression.h:37
keduvoccontainer.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:37:21 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

libkdeedu/keduvocdocument

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

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal