libkdeedu/keduvocdocument
KEduVocArticle Class Reference
#include <keduvocgrammar.h>
Detailed Description
Class representing the articles of a language.It contains all available articles of the language as QString
Definition at line 39 of file keduvocgrammar.h.
Public Types | |
| enum | ArticleNumber { Singular, Dual, Plural, NumberMAX } |
| enum | ArticleGender { Masculine, Feminine, Neutral, GenderMAX } |
| enum | ArticleDefiniteness { Definite, Indefinite, DefinitenessMAX } |
Public Member Functions | |
| KEduVocArticle () | |
| KEduVocArticle (const KEduVocArticle &other) | |
| KDE_DEPRECATED | KEduVocArticle (const QString &fem_def, const QString &fem_indef, const QString &mal_def, const QString &mal_indef, const QString &nat_def, const QString &nat_indef) |
| ~KEduVocArticle () | |
| KEduVocArticle & | operator= (const KEduVocArticle &other) |
| QString | article (ArticleNumber number, ArticleDefiniteness definite, ArticleGender gender) |
| void | setArticle (const QString &article, ArticleNumber number, ArticleDefiniteness definite, ArticleGender gender) |
| bool | isArticle (const QString &article) const |
| bool | isEmpty () |
Member Enumeration Documentation
Constructor & Destructor Documentation
| KEduVocArticle::KEduVocArticle | ( | ) | [explicit] |
| KEduVocArticle::KEduVocArticle | ( | const KEduVocArticle & | other | ) |
copy constructor for d-pointer safety
- Parameters:
-
other article object to copy
Definition at line 136 of file keduvocgrammar.cpp.
| KEduVocArticle::KEduVocArticle | ( | const QString & | fem_def, | |
| const QString & | fem_indef, | |||
| const QString & | mal_def, | |||
| const QString & | mal_indef, | |||
| const QString & | nat_def, | |||
| const QString & | nat_indef | |||
| ) |
DEPRECATED The constructor with arguments, assumes singular!
- Parameters:
-
fem_def reference to a QString with the definite female article fem_indef reference to a QString with the indefinite female article mal_def reference to a QString with the definite male article mal_indef reference to a QString with the indefinite male article nat_def reference to a QString with the definite neutral article nat_indef reference to a QString with the indefinite neutral article
Definition at line 148 of file keduvocgrammar.cpp.
| KEduVocArticle::~KEduVocArticle | ( | ) |
Member Function Documentation
| KEduVocArticle & KEduVocArticle::operator= | ( | const KEduVocArticle & | other | ) |
| QString KEduVocArticle::article | ( | ArticleNumber | number, | |
| ArticleDefiniteness | definite, | |||
| ArticleGender | gender | |||
| ) |
Definition at line 166 of file keduvocgrammar.cpp.
| void KEduVocArticle::setArticle | ( | const QString & | article, | |
| ArticleNumber | number, | |||
| ArticleDefiniteness | definite, | |||
| ArticleGender | gender | |||
| ) |
Definition at line 174 of file keduvocgrammar.cpp.
| bool KEduVocArticle::isArticle | ( | const QString & | article | ) | const |
Definition at line 185 of file keduvocgrammar.cpp.
| bool KEduVocArticle::isEmpty | ( | ) |
Definition at line 190 of file keduvocgrammar.cpp.
The documentation for this class was generated from the following files:
KDE 4.0 API Reference