From: Frederik Gladhorn Date: Thu, 30 Aug 2007 10:29:09 +0000 (+0000) Subject: Apidox++ X-Git-Tag: v3.94.0~115 X-Git-Url: https://git.rmz.fi/?a=commitdiff_plain;h=8a76cf130c22d7a4aaec2dd866b72553e447e029;p=libqmvoc.git Apidox++ svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=706412 --- diff --git a/keduvocdocument/keduvocdocument.h b/keduvocdocument/keduvocdocument.h index 74cd020..685b19c 100644 --- a/keduvocdocument/keduvocdocument.h +++ b/keduvocdocument/keduvocdocument.h @@ -491,6 +491,11 @@ public: */ //void moveLesson(int from, int to); + + + + +/// @todo move conjugation to personal pronouns, move that into identifier! // *** conjugation methods *** /** @@ -512,6 +517,9 @@ public: */ int conjugationCount() const; + + +///@todo move into identifier! // *** article methods *** /** diff --git a/keduvocdocument/keduvocidentifier.h b/keduvocdocument/keduvocidentifier.h index 32ecd71..1b48201 100644 --- a/keduvocdocument/keduvocidentifier.h +++ b/keduvocdocument/keduvocidentifier.h @@ -41,14 +41,50 @@ Class to store meta information about a language or any other category in the vo class KEDUVOCDOCUMENT_EXPORT KEduVocIdentifier { public: - KEduVocIdentifier(); + /** + * Default ctor. + */ + explicit KEduVocIdentifier(); + + /** + * Copy ctor. + * @param other + */ KEduVocIdentifier( const KEduVocIdentifier &other ); + + /** + * dtor + */ ~KEduVocIdentifier(); + + /** + * assignment operator + * @param other + * @return + */ KEduVocIdentifier& operator= ( const KEduVocIdentifier &other ); +public: + /** + * Name of this identifier. (English, Anatomy, Fruit salad...) + * @return name + */ QString name() const; + /** + * Set the name + * @param name + */ void setName( const QString& name ); + + /** + * The locale of the contents: en, de, es, ... + * @return locale + */ QString locale() const; + /** + * Set the locale + * @param name + */ void setLocale( const QString& name ); private: