From 21dfc73eb6069dfefffc6352e81598810de0e136 Mon Sep 17 00:00:00 2001 From: Reto Zingg Date: Sat, 15 Dec 2012 19:28:48 +0200 Subject: [PATCH] adapt qmvocconjugation.h for querymee --- qmvocconjugation.h | 41 ++++++++++++++++++++++------------------- 1 file changed, 22 insertions(+), 19 deletions(-) diff --git a/qmvocconjugation.h b/qmvocconjugation.h index d301953..a8ee965 100644 --- a/qmvocconjugation.h +++ b/qmvocconjugation.h @@ -1,12 +1,17 @@ /*************************************************************************** +* this file is from kdeedu project. Filename: keduvocconjugation.h +***************************************************************************/ - C++ Interface: keduvocconjugation +/*************************************************************************** + + C++ Interface: qmvocconjugation ----------------------------------------------------------------------- begin : Di Aug 28 2007 copyright : (C) 2007 Frederik Gladhorn + Copyright : (C) 2010, 2012 Reto Zingg ----------------------------------------------------------------------- @@ -22,33 +27,33 @@ ***************************************************************************/ -#ifndef KEDUVOCCONJUGATION_H -#define KEDUVOCCONJUGATION_H +#ifndef QMVOCCONJUGATION_H +#define QMVOCCONJUGATION_H -#include "libkeduvocdocument_export.h" -#include "keduvoctext.h" -#include "keduvocwordflags.h" +#include "libqmvocdocument_export.h" +#include "qmvoctext.h" +#include "qmvocwordflags.h" #include /** * The conjugation of a verb */ -class KEDUVOCDOCUMENT_EXPORT KEduVocConjugation +class QMVOCDOCUMENT_EXPORT QmVocConjugation { public: /** * The constructor */ - explicit KEduVocConjugation(); + explicit QmVocConjugation(); - KEduVocConjugation( const KEduVocConjugation& rhs ); + QmVocConjugation( const QmVocConjugation& rhs ); - ~KEduVocConjugation(); + ~QmVocConjugation(); - KEduVocConjugation& operator = ( const KEduVocConjugation& a ); - bool operator == ( const KEduVocConjugation& a ) const; + QmVocConjugation& operator = ( const QmVocConjugation& a ); + bool operator == ( const QmVocConjugation& a ) const; /** * Returns an existing conjugation object. It is an error and leads to undefined behaviour @@ -59,13 +64,13 @@ public: * @param flags Flags obtained by a previous call to keys() * @return The existing conjugation object with the specified properties */ - KEduVocText& conjugation(KEduVocWordFlags flags) const; + QmVocText& conjugation(QmVocWordFlags flags) const; /** * Updates or creates the conjugation object for the given word flags. */ - void setConjugation(const KEduVocText& conjugation, KEduVocWordFlags flags); + void setConjugation(const QmVocText& conjugation, QmVocWordFlags flags); - QList keys(); + QList keys(); bool isEmpty(); @@ -80,13 +85,11 @@ public: * @param parent * @return */ - static KEduVocConjugation* fromKVTML2(QDomElement& parent); + static QmVocConjugation* fromKVTML2(QDomElement& parent); private: class Private; Private* const d; }; - -#endif // KEDUVOCCONJUGATION_H - +#endif // QMVOCCONJUGATION_H -- 2.47.3