File indexing completed on 2023-10-03 03:10:37
0001 /* 0002 * SPDX-FileCopyrightText: 2007 Frederik Gladhorn <frederik.gladhorn@kdemail.net> 0003 * SPDX-License-Identifier: GPL-2.0-or-later 0004 */ 0005 0006 #ifndef KEDUVOCPERSONALPRONOUN_H 0007 #define KEDUVOCPERSONALPRONOUN_H 0008 0009 #include "keduvocconjugation.h" 0010 #include "keduvocdocument_export.h" 0011 #include <QStringList> 0012 0013 /** 0014 * The conjugation of a verb 0015 */ 0016 class KEDUVOCDOCUMENT_EXPORT KEduVocPersonalPronoun 0017 { 0018 public: 0019 /** 0020 * The constructor 0021 */ 0022 explicit KEduVocPersonalPronoun(); 0023 0024 KEduVocPersonalPronoun(const KEduVocPersonalPronoun &rhs); 0025 0026 ~KEduVocPersonalPronoun(); 0027 0028 KEduVocPersonalPronoun &operator=(const KEduVocPersonalPronoun &a); 0029 bool operator==(const KEduVocPersonalPronoun &a) const; 0030 0031 QString personalPronoun(KEduVocWordFlags flags) const; 0032 void setPersonalPronoun(const QString &conjugation, KEduVocWordFlags flags); 0033 0034 bool maleFemaleDifferent() const; 0035 void setMaleFemaleDifferent(bool different); 0036 0037 bool neutralExists() const; 0038 void setNeutralExists(bool exists); 0039 0040 bool dualExists() const; 0041 void setDualExists(bool exists); 0042 0043 private: 0044 class Private; 0045 Private *const d; 0046 }; 0047 0048 #endif // KEDUVOCCONJUGATION_H