libkdeedu/keduvocdocument
KEduVocArticle Class Reference
Class representing the articles of a language. More...
#include <keduvocarticle.h>
Public Member Functions | |
| 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 (const KEduVocArticle &other) | |
| KEduVocArticle () | |
| ~KEduVocArticle () | |
| QString | article (const KEduVocWordFlags &) |
| bool | isArticle (const QString &article) const |
| bool | isEmpty () |
| KEduVocArticle & | operator= (const KEduVocArticle &other) |
| void | setArticle (const QString &article, const KEduVocWordFlags &) |
Detailed Description
Class representing the articles of a language.
It contains all available articles of the language as QString
Definition at line 33 of file keduvocarticle.h.
Constructor & Destructor Documentation
| KEduVocArticle::KEduVocArticle | ( | ) | [explicit] |
The constructor without arguments.
Definition at line 30 of file keduvocarticle.cpp.
| KEduVocArticle::KEduVocArticle | ( | const KEduVocArticle & | other | ) |
copy constructor for d-pointer safety
- Parameters:
-
other article object to copy
Definition at line 34 of file keduvocarticle.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 46 of file keduvocarticle.cpp.
| KEduVocArticle::~KEduVocArticle | ( | ) |
default destructor, deletes the d pointer
Definition at line 58 of file keduvocarticle.cpp.
Member Function Documentation
| QString KEduVocArticle::article | ( | const KEduVocWordFlags & | flags | ) |
Definition at line 64 of file keduvocarticle.cpp.
| bool KEduVocArticle::isArticle | ( | const QString & | article | ) | const |
Definition at line 75 of file keduvocarticle.cpp.
| bool KEduVocArticle::isEmpty | ( | ) |
Definition at line 80 of file keduvocarticle.cpp.
| KEduVocArticle & KEduVocArticle::operator= | ( | const KEduVocArticle & | other | ) |
assignment operator for d-pointer copying
Definition at line 40 of file keduvocarticle.cpp.
| void KEduVocArticle::setArticle | ( | const QString & | article, | |
| const KEduVocWordFlags & | flags | |||
| ) |
Definition at line 69 of file keduvocarticle.cpp.
The documentation for this class was generated from the following files:
KDE 4.4 API Reference