• 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 | List of all members
KEduVocIdentifier Class Reference

#include <keduvocidentifier.h>

Public Member Functions

 KEduVocIdentifier ()
 
 KEduVocIdentifier (const KEduVocIdentifier &other)
 
 ~KEduVocIdentifier ()
 
KEduVocArticle & article () const
 
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)
 
QString tense (int tenseIndex) const
 
QStringList tenseList () const
 

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.

Constructor & Destructor Documentation

KEduVocIdentifier::KEduVocIdentifier ( )
explicit

Default ctor.

Todo:
maybe the user locale would be more appropriate

Definition at line 43 of file keduvocidentifier.cpp.

KEduVocIdentifier::KEduVocIdentifier ( const KEduVocIdentifier &  other)

Copy ctor.

Parameters
other

Definition at line 55 of file keduvocidentifier.cpp.

KEduVocIdentifier::~KEduVocIdentifier ( )

dtor

Definition at line 50 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 106 of file keduvocidentifier.cpp.

QString KEduVocIdentifier::locale ( ) const

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

Returns
locale

Definition at line 91 of file keduvocidentifier.cpp.

QString KEduVocIdentifier::name ( ) const

Name of this identifier.

(English, Anatomy, Fruit salad...)

Returns
name

Definition at line 81 of file keduvocidentifier.cpp.

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

assignment operator

Parameters
other
Returns

Definition at line 69 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 111 of file keduvocidentifier.cpp.

void KEduVocIdentifier::setArticle ( const KEduVocArticle &  article)

Sets the articles for this identifier.

Parameters
artarticle block

Definition at line 101 of file keduvocidentifier.cpp.

void KEduVocIdentifier::setLocale ( const QString &  name)

Set the locale.

Parameters
name

Definition at line 96 of file keduvocidentifier.cpp.

void KEduVocIdentifier::setName ( const QString &  name)

Set the name.

Parameters
name

Definition at line 86 of file keduvocidentifier.cpp.

void KEduVocIdentifier::setPersonalPronouns ( const KEduVocPersonalPronoun &  pronouns)

Sets personal pronouns.

Parameters
pronounsa KEduVocConjugation containing the personal pronouns

Definition at line 116 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 127 of file keduvocidentifier.cpp.

void KEduVocIdentifier::setTenseList ( const QStringList &  tenses)

Definition at line 142 of file keduvocidentifier.cpp.

QString KEduVocIdentifier::tense ( int  tenseIndex) const

Returns the name of tense number tenseIndex.

Parameters
tenseIndexdesired tense
Returns
name of the tense

Definition at line 121 of file keduvocidentifier.cpp.

QStringList KEduVocIdentifier::tenseList ( ) const

Definition at line 137 of file keduvocidentifier.cpp.


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