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

libkdeedu/keduvocdocument

keduvocconjugation.h

Go to the documentation of this file.
00001 /***************************************************************************
00002 
00003     C++ Interface: keduvocconjugation
00004 
00005     -----------------------------------------------------------------------
00006 
00007     begin         : Di Aug 28 2007
00008 
00009     copyright     : (C) 2007 Frederik Gladhorn <frederik.gladhorn@kdemail.net>
00010 
00011     -----------------------------------------------------------------------
00012 
00013  ***************************************************************************/
00014 
00015 /***************************************************************************
00016  *                                                                         *
00017  *   This program is free software; you can redistribute it and/or modify  *
00018  *   it under the terms of the GNU General Public License as published by  *
00019  *   the Free Software Foundation; either version 2 of the License, or     *
00020  *   (at your option) any later version.                                   *
00021  *                                                                         *
00022  ***************************************************************************/
00023 
00024 
00025 #ifndef KEDUVOCCONJUGATION_H
00026 #define KEDUVOCCONJUGATION_H
00027 
00028 #include "libkeduvocdocument_export.h"
00029 #include "keduvocgrade.h"
00030 
00031 #include <QtCore/QStringList>
00032 
00036 class KEDUVOCDOCUMENT_EXPORT KEduVocConjugation
00037 {
00038 public:
00039 
00040     enum ConjugationNumber {
00041         Singular,
00042         Dual,
00043         Plural,
00044         NumberMAX
00045     };
00046 
00047     // store third person neutral/common in the same sttr
00048     enum ConjugationPerson {
00049         First,
00050         Second,
00051         ThirdMale,
00052         ThirdFemale,
00053         ThirdNeutralCommon,
00054         PersonMAX
00055     };
00056 
00057 
00061     explicit KEduVocConjugation();
00062 
00063     KEduVocConjugation( const KEduVocConjugation& rhs );
00064 
00065     ~KEduVocConjugation();
00066 
00067     KEduVocConjugation& operator = ( const KEduVocConjugation& a );
00068     bool operator == ( const KEduVocConjugation& a ) const;
00069 
00070     QString conjugation(ConjugationPerson person, ConjugationNumber number) const;
00071     QString conjugation(int index) const;
00072     void setConjugation(const QString& conjugation, ConjugationPerson person, ConjugationNumber number);
00073 
00074     bool isEmpty();
00075 
00076     KEduVocGrade &grade();
00077 
00078     static int indexOf(ConjugationPerson person, ConjugationNumber number);
00079 
00080 private:
00081     class Private;
00082     Private* const d;
00083 };
00084 
00085 
00086 
00087 #endif // KEDUVOCCONJUGATION_H
00088 

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