From: Reto Zingg Date: Sat, 15 Dec 2012 17:28:48 +0000 (+0200) Subject: adapt qmvocdeclension.h for querymee X-Git-Url: https://git.rmz.fi/?a=commitdiff_plain;h=8bea4623d42a13fff87372ce8a5287d82249431e;p=libqmvoc.git adapt qmvocdeclension.h for querymee --- diff --git a/qmvocdeclension.h b/qmvocdeclension.h index 3ac3f3d..4f8d3e5 100644 --- a/qmvocdeclension.h +++ b/qmvocdeclension.h @@ -1,12 +1,17 @@ /*************************************************************************** +* this file is from kdeedu project. Filename: keduvocdeclension.h +***************************************************************************/ - C++ Interface: keduvocdeclension +/*************************************************************************** + + C++ Interface: qmvocdeclension ----------------------------------------------------------------------- begin : Do Sep 20 2007 copyright : (C) 2007 Frederik Gladhorn + Copyright : (C) 2010, 2012 Reto Zingg ----------------------------------------------------------------------- @@ -20,46 +25,46 @@ * (at your option) any later version. * * * ***************************************************************************/ -#ifndef KEDUVOCDECLENSION_H -#define KEDUVOCDECLENSION_H +#ifndef QMVOCDECLENSION_H +#define QMVOCDECLENSION_H -#include "libkeduvocdocument_export.h" +#include "libqmvocdocument_export.h" -#include "keduvoctext.h" -#include "keduvocwordflags.h" +#include "qmvoctext.h" +#include "qmvocwordflags.h" /** A declension contains all forms that a NOUN possibly can have. @author Frederik Gladhorn */ -class KEDUVOCDOCUMENT_EXPORT KEduVocDeclension{ +class QMVOCDOCUMENT_EXPORT QmVocDeclension{ public: /** * The constructor without arguments */ - explicit KEduVocDeclension(); + explicit QmVocDeclension(); /** copy constructor * @param other comparison object to copy */ - KEduVocDeclension( const KEduVocDeclension &other ); + QmVocDeclension( const QmVocDeclension &other ); - ~KEduVocDeclension(); + ~QmVocDeclension(); /** equality operator * @param a object to compare to * @returns true if comparisons are the same, false otherwise */ // will probably not be necessary -// bool operator == ( const KEduVocDeclension& a ) const; +// bool operator == ( const QmVocDeclension& a ) const; /** assignment operator for d-pointer copying * @param other object to copy from * @returns reference to this object */ - KEduVocDeclension& operator= ( const KEduVocDeclension& other ); + QmVocDeclension& operator= ( const QmVocDeclension& other ); /** * The grammatical number, there is singular and plural for english, some languages have dual for exactly two items. @@ -67,7 +72,7 @@ public: * @param decCase * @return */ - KEduVocText& declension(KEduVocWordFlags flags); + QmVocText& declension(QmVocWordFlags flags); /** * Set a declension @@ -75,7 +80,7 @@ public: * @param number * @param decCase */ - void setDeclension(const KEduVocText& declension, KEduVocWordFlags flags); + void setDeclension(const QmVocText& declension, QmVocWordFlags flags); bool isEmpty(); @@ -91,7 +96,7 @@ public: * @param parent * @return */ - static KEduVocDeclension* fromKVTML2(QDomElement& parent); + static QmVocDeclension* fromKVTML2(QDomElement& parent); private: class Private;