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

libkdeedu/keduvocdocument

KEduVocIdentifier Class Reference

#include <keduvocidentifier.h>

List of all members.


Detailed Description

Class to store meta information about a language or any other category in the vocabulary.

Definition at line 29 of file keduvocidentifier.h.


Public Member Functions

KEduVocArticle & article () const
 KEduVocIdentifier (const KEduVocIdentifier &other)
 KEduVocIdentifier ()
QString locale () const
QString name () const
KEduVocIdentifier & operator= (const KEduVocIdentifier &other)
KEduVocPersonalPronoun & personalPronouns () const
void setArticle (const KEduVocArticle &article)
void setLocale (const QString &name)
void setName (const QString &name)
void setPersonalPronouns (const KEduVocPersonalPronoun &pronouns)
void setTense (int tenseIndex, const QString &tense)
void setTenseList (const QStringList &tenses)
const QString & tense (int tenseIndex) const
const QStringList & tenseList () const
 ~KEduVocIdentifier ()

Constructor & Destructor Documentation

KEduVocIdentifier::KEduVocIdentifier (  )  [explicit]

Default ctor.

Todo:
maybe the user locale would be more appropriate

Definition at line 45 of file keduvocidentifier.cpp.

KEduVocIdentifier::KEduVocIdentifier ( const KEduVocIdentifier &  other  ) 

Copy ctor.

Parameters:
other 

Definition at line 57 of file keduvocidentifier.cpp.

KEduVocIdentifier::~KEduVocIdentifier (  ) 

dtor

Definition at line 52 of file keduvocidentifier.cpp.


Member Function Documentation

KEduVocArticle & KEduVocIdentifier::article (  )  const

Articles (a, the in English, el, la,.

.. in Spanish)

Returns:
articles

Definition at line 108 of file keduvocidentifier.cpp.

QString KEduVocIdentifier::locale (  )  const

The locale of the contents: en, de, es, .

..

Returns:
locale

Definition at line 93 of file keduvocidentifier.cpp.

QString KEduVocIdentifier::name (  )  const

Name of this identifier.

(English, Anatomy, Fruit salad...)

Returns:
name

Definition at line 83 of file keduvocidentifier.cpp.

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

assignment operator

Parameters:
other 
Returns:

Definition at line 71 of file keduvocidentifier.cpp.

KEduVocPersonalPronoun & KEduVocIdentifier::personalPronouns (  )  const

Get the personal pronouns for this identifier.

Returns:
a KEduVocPersonalPronoun containing the personal pronouns

Definition at line 113 of file keduvocidentifier.cpp.

void KEduVocIdentifier::setArticle ( const KEduVocArticle &  article  ) 

Sets the articles for this identifier.

Parameters:
art article block

Definition at line 103 of file keduvocidentifier.cpp.

void KEduVocIdentifier::setLocale ( const QString &  name  ) 

Set the locale.

Parameters:
name 

Definition at line 98 of file keduvocidentifier.cpp.

void KEduVocIdentifier::setName ( const QString &  name  ) 

Set the name.

Parameters:
name 

Definition at line 88 of file keduvocidentifier.cpp.

void KEduVocIdentifier::setPersonalPronouns ( const KEduVocPersonalPronoun &  pronouns  ) 

Sets personal pronouns.

Parameters:
pronouns a KEduVocConjugation containing the personal pronouns

Definition at line 118 of file keduvocidentifier.cpp.

void KEduVocIdentifier::setTense ( int  tenseIndex,
const QString &  tense 
)

Sets the name of a tense for this language.

Parameters:
tenseIndex 
tense 

Definition at line 129 of file keduvocidentifier.cpp.

void KEduVocIdentifier::setTenseList ( const QStringList &  tenses  ) 

Definition at line 144 of file keduvocidentifier.cpp.

const QString & KEduVocIdentifier::tense ( int  tenseIndex  )  const

Returns the name of tense number tenseIndex.

Parameters:
tenseIndex desired tense
Returns:
name of the tense

Definition at line 123 of file keduvocidentifier.cpp.

const QStringList & KEduVocIdentifier::tenseList (  )  const

Definition at line 139 of file keduvocidentifier.cpp.


The documentation for this class was generated from the following files:
  • keduvocidentifier.h
  • keduvocidentifier.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
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  •   docs
  •   src
  • parley
  •   stepcore
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