/***************************************************************************
+* 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 <frederik.gladhorn@kdemail.net>
+ Copyright : (C) 2010, 2012 Reto Zingg <g.d0b3rm4n@gmail.com>
-----------------------------------------------------------------------
* (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 <frederik.gladhorn@kdemail.net>
*/
-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.
* @param decCase
* @return
*/
- KEduVocText& declension(KEduVocWordFlags flags);
+ QmVocText& declension(QmVocWordFlags flags);
/**
* Set a declension
* @param number
* @param decCase
*/
- void setDeclension(const KEduVocText& declension, KEduVocWordFlags flags);
+ void setDeclension(const QmVocText& declension, QmVocWordFlags flags);
bool isEmpty();
* @param parent
* @return
*/
- static KEduVocDeclension* fromKVTML2(QDomElement& parent);
+ static QmVocDeclension* fromKVTML2(QDomElement& parent);
private:
class Private;