parley
#include <identifier.h>

Public Slots | |
QString | article (const KEduVocWordFlags &flags) |
QString | personalPronoun (const KEduVocWordFlags &flags) const |
QStringList | personalPronouns () |
void | setArticle (const QString &article, const KEduVocWordFlags &flags) |
void | setPersonalPronoun (const QString &conjugation, const KEduVocWordFlags &flags) |
void | setTenses (QStringList names) |
QStringList | tenses () const |
Public Member Functions | |
Identifier () | |
Identifier (KEduVocIdentifier *identifier) | |
Identifier (KEduVocIdentifier &identifier) | |
~Identifier () | |
KEduVocIdentifier * | kEduVocIdentifier () |
QString | locale () const |
QString | name () const |
void | setLocale (const QString &name) |
void | setName (const QString &name) |
Properties | |
QString | locale |
QString | name |
Detailed Description
Identifier class can be accessed from Document class and is used for specifying the document languages, articles and personal pronouns.
@author Avgoustinos Kadis <avgoustinos.kadis@kdemail.net>
Definition at line 54 of file identifier.h.
Constructor & Destructor Documentation
Scripting::Identifier::Identifier | ( | ) |
Definition at line 24 of file identifier.cpp.
Scripting::Identifier::Identifier | ( | KEduVocIdentifier * | identifier | ) |
Definition at line 30 of file identifier.cpp.
Scripting::Identifier::Identifier | ( | KEduVocIdentifier & | identifier | ) |
Definition at line 35 of file identifier.cpp.
Scripting::Identifier::~Identifier | ( | ) |
Definition at line 42 of file identifier.cpp.
Member Function Documentation
|
slot |
Articles (a, the in English, el, la,...
in Spanish)
- Returns
- articles Returns the article in the given number, definiteness and gender flags:
- Number flags: Parley.Singular, Parley.Dual, Parley.Plural
- Definiteness flags: Parley.Definite, Parley.Indefinite
- Gender flags: Parley.Masculine, Parley.Feninine, Parley.Neuter
- Parameters
-
flags Flags to indicate which article to return
- Returns
- A string containing the requested article. Empty string if does not exist
Definition at line 46 of file identifier.cpp.
|
inline |
Definition at line 69 of file identifier.h.
|
inline |
The locale of the contents: en, de, es, ...
- Returns
- locale
Definition at line 86 of file identifier.h.
|
inline |
Name of this identifier.
(English, Anatomy, Fruit salad...)
- Returns
- name
Definition at line 75 of file identifier.h.
|
slot |
Get the personal pronouns for this identifier.
- Returns
- a KEduVocPersonalPronoun containing the personal pronouns
Definition at line 59 of file identifier.cpp.
|
slot |
Definition at line 71 of file identifier.cpp.
|
slot |
Sets the article
in the given number, definiteness and gender flags:
- Number flags: Parley.Singular, Parley.Dual, Parley.Plural
- Definiteness flags: Parley.Definite, Parley.Indefinite
- Gender flags: Parley.Masculine, Parley.Feninine, Parley.Neuter
- Parameters
-
article The article to set flags Flags to indicate which article to set
Definition at line 52 of file identifier.cpp.
|
inline |
|
inline |
|
slot |
Sets personal pronouns.
- Parameters
-
pronouns a KEduVocConjugation containing the personal pronouns
Definition at line 64 of file identifier.cpp.
|
inlineslot |
Sets the document tenses.
- Parameters
-
names A string list of the document tenses we want to be using
Definition at line 166 of file identifier.h.
|
inlineslot |
Gets the language tenses (see example in Identifier::setTenses())
- Returns
- A string list of all the language tenses
Definition at line 172 of file identifier.h.
Property Documentation
|
readwrite |
Definition at line 58 of file identifier.h.
|
readwrite |
Definition at line 57 of file identifier.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:42:06 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.