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

libkdeedu/keduvocdocument

KEduVocDeclination Class Reference

#include <keduvocdeclination.h>

List of all members.


Detailed Description

A declination contains all forms that a NOUN possibly can have.

Author:
Frederik Gladhorn <frederik.gladhorn@kdemail.net>

Definition at line 33 of file keduvocdeclination.h.


Public Types

enum  DeclinationNumber { Singular = 1, Dual, Plural }
enum  DeclinationCase {
  Nominative = 1, Genitive, Dative, Accusative,
  Ablative, Locative, Vocative, DeclinationCaseMAX
}

Public Member Functions

 KEduVocDeclination ()
 KEduVocDeclination (const KEduVocDeclination &other)
 ~KEduVocDeclination ()
KEduVocDeclination & operator= (const KEduVocDeclination &other)
QString declination (DeclinationNumber number, DeclinationCase decCase)
void setDeclination (const QString &declination, DeclinationNumber number, DeclinationCase decCase)
bool isEmpty ()

Member Enumeration Documentation

enum KEduVocDeclination::DeclinationNumber

Enumerator:
Singular 
Dual 
Plural 

Definition at line 35 of file keduvocdeclination.h.

enum KEduVocDeclination::DeclinationCase

Enumerator:
Nominative 
Genitive 
Dative 
Accusative 
Ablative 
Locative 
Vocative 
DeclinationCaseMAX 

Definition at line 41 of file keduvocdeclination.h.


Constructor & Destructor Documentation

KEduVocDeclination::KEduVocDeclination (  )  [explicit]

The constructor without arguments.

Definition at line 33 of file keduvocdeclination.cpp.

KEduVocDeclination::KEduVocDeclination ( const KEduVocDeclination &  other  ) 

copy constructor

Parameters:
other comparison object to copy

Definition at line 38 of file keduvocdeclination.cpp.

KEduVocDeclination::~KEduVocDeclination (  ) 

Definition at line 50 of file keduvocdeclination.cpp.


Member Function Documentation

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

equality operator

Parameters:
a object to compare to
Returns:
true if comparisons are the same, false otherwise assignment operator for d-pointer copying
Parameters:
other object to copy from
Returns:
reference to this object

Definition at line 44 of file keduvocdeclination.cpp.

QString KEduVocDeclination::declination ( DeclinationNumber  number,
DeclinationCase  decCase 
)

The grammatical number, there is singular and plural for english, some languages have dual for exactly two items.

Parameters:
gender 
decCase 
Returns:

Definition at line 55 of file keduvocdeclination.cpp.

void KEduVocDeclination::setDeclination ( const QString &  declination,
DeclinationNumber  number,
DeclinationCase  decCase 
)

Set a declination.

Parameters:
@param number
decCase 

Definition at line 64 of file keduvocdeclination.cpp.

bool KEduVocDeclination::isEmpty (  ) 

Definition at line 74 of file keduvocdeclination.cpp.


The documentation for this class was generated from the following files:
  • keduvocdeclination.h
  • keduvocdeclination.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