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

libkdeedu/keduvocdocument

Public Member Functions | Static Public Member Functions | List of all members
KEduVocDeclension Class Reference

#include <keduvocdeclension.h>

Public Member Functions

 KEduVocDeclension ()
 
 KEduVocDeclension (const KEduVocDeclension &other)
 
 ~KEduVocDeclension ()
 
KEduVocText & declension (KEduVocWordFlags flags)
 
bool isEmpty ()
 
KEduVocDeclension & operator= (const KEduVocDeclension &other)
 
void setDeclension (const KEduVocText &declension, KEduVocWordFlags flags)
 
void toKVTML2 (QDomElement &parent)
 

Static Public Member Functions

static KEduVocDeclension * fromKVTML2 (QDomElement &parent)
 

Detailed Description

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

Author
Frederik Gladhorn frede.nosp@m.rik..nosp@m.gladh.nosp@m.orn@.nosp@m.kdema.nosp@m.il.n.nosp@m.et

Definition at line 36 of file keduvocdeclension.h.

Constructor & Destructor Documentation

KEduVocDeclension::KEduVocDeclension ( )
explicit

The constructor without arguments.

Definition at line 38 of file keduvocdeclension.cpp.

KEduVocDeclension::KEduVocDeclension ( const KEduVocDeclension &  other)

copy constructor

Parameters
othercomparison object to copy

Definition at line 43 of file keduvocdeclension.cpp.

KEduVocDeclension::~KEduVocDeclension ( )

Definition at line 55 of file keduvocdeclension.cpp.

Member Function Documentation

KEduVocText & KEduVocDeclension::declension ( KEduVocWordFlags  flags)

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 60 of file keduvocdeclension.cpp.

KEduVocDeclension * KEduVocDeclension::fromKVTML2 ( QDomElement &  parent)
static

Reads a declension from xml, returns 0 if it is empty.

Parameters
parent
Returns

Definition at line 129 of file keduvocdeclension.cpp.

bool KEduVocDeclension::isEmpty ( )

Definition at line 70 of file keduvocdeclension.cpp.

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

equality operator

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

Definition at line 49 of file keduvocdeclension.cpp.

void KEduVocDeclension::setDeclension ( const KEduVocText &  declension,
KEduVocWordFlags  flags 
)

Set a declension.

Parameters
param number
decCase

Definition at line 65 of file keduvocdeclension.cpp.

void KEduVocDeclension::toKVTML2 ( QDomElement &  parent)

Create xml for this declension.

Parameters
parent

Definition at line 75 of file keduvocdeclension.cpp.


The documentation for this class was generated from the following files:
  • keduvocdeclension.h
  • keduvocdeclension.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:37:22 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