+/***************************************************************************
+* this file is from kdeedu project. Filename: keduvoctext.h
+***************************************************************************/
+
/***************************************************************************
Copyright 2007-2008 Frederik Gladhorn <frederik.gladhorn@kdemail.net>
+ Copyright (C) 2010, 2012 Reto Zingg <g.d0b3rm4n@gmail.com>
***************************************************************************/
/***************************************************************************
* *
***************************************************************************/
-#ifndef KEDUVOCTEXT_H
-#define KEDUVOCTEXT_H
+#ifndef QMVOCTEXT_H
+#define QMVOCTEXT_H
-#include "libkeduvocdocument_export.h"
+#include "libqmvocdocument_export.h"
#include <QtCore/QDateTime>
* This should be used instead of strings for all things that can be tested and thus get a grade.
@author Frederik Gladhorn <frederik.gladhorn@kdemail.net>
*/
-class KEDUVOCDOCUMENT_EXPORT KEduVocText
+class QMVOCDOCUMENT_EXPORT QmVocText
{
public:
/** default constructor */
- KEduVocText(const QString& text = QString());
+ QmVocText(const QString& text = QString());
/** copy constructor
* provides safe copy of d pointer
* @param other object to copy from
*/
- KEduVocText( const KEduVocText &other );
+ QmVocText( const QmVocText &other );
/** default destructor */
- ~KEduVocText();
+ ~QmVocText();
/**
* The translation as string (the word itself)
* @param other grades copied
* @return reference to the new grades
*/
- KEduVocText& operator= ( const KEduVocText &other );
+ QmVocText& operator= ( const QmVocText &other );
/**
* Compare two sets of grades.
* @param other
* @return true if equal
*/
- bool operator== ( const KEduVocText &other ) const;
+ bool operator== ( const QmVocText &other ) const;
/** returns how often this entry has been practiced as int
void toKVTML2(QDomElement& parent);
private:
- class KEduVocTextPrivate;
- KEduVocTextPrivate * const d;
+ class QmVocTextPrivate;
+ QmVocTextPrivate * const d;
};
#endif