]> Git trees. - libqmvoc.git/commitdiff
Add functions to get subtype of nouns.
authorFrederik Gladhorn <gladhorn@kde.org>
Thu, 13 Sep 2007 13:11:14 +0000 (13:11 +0000)
committerFrederik Gladhorn <gladhorn@kde.org>
Thu, 13 Sep 2007 13:11:14 +0000 (13:11 +0000)
svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=712060

keduvocdocument/keduvocwordtype.cpp
keduvocdocument/keduvocwordtype.h

index 1191a1454db91fa88ac692dc4373785773231ab5..a1b96652b83ff6c4aab50f965a764a07183d4e57 100644 (file)
@@ -397,11 +397,23 @@ QString KEduVocWordType::specialSubType( const QString & mainTypeName, const QSt
 }
 
 
-
 QString KEduVocWordType::specialTypeNoun() const
 {
     return d->WORDTYPE_NOUN;
 }
+QString KEduVocWordType::specialTypeNounMale() const
+{
+    return d->WORDTYPE_NOUN_MALE;
+}
+QString KEduVocWordType::specialTypeNounFemale() const
+{
+    return d->WORDTYPE_NOUN_FEMALE;
+}
+QString KEduVocWordType::specialTypeNounNeutral() const
+{
+    return d->WORDTYPE_NOUN_NEUTRAL;
+}
+
 
 QString KEduVocWordType::specialTypeVerb() const
 {
index d8bbcc8ab3e4e9f5b7121aa7a7941ec7890fc66f..1c292c1694919f7f3f7e2e0f870f7490cd575aa1 100644 (file)
@@ -134,6 +134,10 @@ public:
     QString typeOfSpecialType( const QString& specialType ) const;
 
     QString specialTypeNoun() const;
+    QString specialTypeNounMale() const;
+    QString specialTypeNounFemale() const;
+    QString specialTypeNounNeutral() const;
+
     QString specialTypeVerb() const;
     QString specialTypeAdjective() const;
     QString specialTypeAdverb() const;