KEduVocArticle

Search for usage in LXR

KEduVocArticle Class Reference

#include <keduvocarticle.h>

Public Member Functions

 KEduVocArticle ()
 
 KEduVocArticle (const KEduVocArticle &other)
 
KEDUVOCDOCUMENT_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 ()
 
QString article (KEduVocWordFlags)
 
bool isArticle (const QString &article) const
 
bool isEmpty ()
 
KEduVocArticleoperator= (const KEduVocArticle &other)
 
void setArticle (const QString &article, KEduVocWordFlags)
 

Detailed Description

Class representing the articles of a language.

It contains all available articles of the language as QString

Definition at line 22 of file keduvocarticle.h.

Constructor & Destructor Documentation

◆ KEduVocArticle() [1/3]

KEduVocArticle::KEduVocArticle ( )
explicit

The constructor without arguments.

Definition at line 18 of file keduvocarticle.cpp.

◆ KEduVocArticle() [2/3]

KEduVocArticle::KEduVocArticle ( const KEduVocArticle & other)

copy constructor for d-pointer safety

Parameters
otherarticle object to copy

Definition at line 23 of file keduvocarticle.cpp.

◆ KEduVocArticle() [3/3]

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_defreference to a QString with the definite female article
fem_indefreference to a QString with the indefinite female article
mal_defreference to a QString with the definite male article
mal_indefreference to a QString with the indefinite male article
nat_defreference to a QString with the definite neutral article
nat_indefreference to a QString with the indefinite neutral article

Definition at line 35 of file keduvocarticle.cpp.

◆ ~KEduVocArticle()

KEduVocArticle::~KEduVocArticle ( )

default destructor, deletes the d pointer

Definition at line 52 of file keduvocarticle.cpp.

Member Function Documentation

◆ article()

QString KEduVocArticle::article ( KEduVocWordFlags flags)

Definition at line 57 of file keduvocarticle.cpp.

◆ isArticle()

bool KEduVocArticle::isArticle ( const QString & article) const

Definition at line 67 of file keduvocarticle.cpp.

◆ isEmpty()

bool KEduVocArticle::isEmpty ( )

Definition at line 72 of file keduvocarticle.cpp.

◆ operator=()

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

assignment operator for d-pointer copying

Definition at line 29 of file keduvocarticle.cpp.

◆ setArticle()

void KEduVocArticle::setArticle ( const QString & article,
KEduVocWordFlags flags )

Definition at line 62 of file keduvocarticle.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:15:30 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.