/***************************************************************************
+* this file is from kdeedu project. Filename: keduvockvtmlcompability.h
+***************************************************************************/
- C++ Interface: keduvockvtml1compability_p
+/***************************************************************************
+
+ C++ Interface: qmvockvtml1compability_p
-----------------------------------------------------------------------
begin : Di Aug 28 2007
copyright : (C) 2007 Frederik Gladhorn <frederik.gladhorn@kdemail.net>
+ Copyright : (C) 2010, 2012 Reto Zingg <g.d0b3rm4n@gmail.com>
-----------------------------------------------------------------------
* *
***************************************************************************/
-#ifndef KEDUVOCKVTMLCOMPABILITY_H
-#define KEDUVOCKVTMLCOMPABILITY_H
+#ifndef QMVOCKVTMLCOMPABILITY_H
+#define QMVOCKVTMLCOMPABILITY_H
#include <QtCore/QString>
#include <QtCore/QMap>
#define UL_USER_USAGE "#" // designates number of user type
-class KEduVocWordType;
+class QmVocWordType;
/**
* @file contains defines and constants necessary for reading kvtml files prior to KDE4. kvtml version 1.
*/
-class KEduVocKvtmlCompability
+class QmVocKvtmlCompability
{
public:
/**
* Constructor, initialize the map.
*/
- KEduVocKvtmlCompability();
+ QmVocKvtmlCompability();
///// TYPES
/**
* @param typeSubtypeString the old string containing everything
* @return type
*/
- KEduVocWordType* typeFromOldFormat(KEduVocWordType* parent, const QString & typeSubtypeString ) const;
+ QmVocWordType* typeFromOldFormat(QmVocWordType* parent, const QString & typeSubtypeString ) const;
/**
* To write old docs: convert a nice new type to the ugly old style.
QStringList documentTenses() const;
QString oldTense( const QString& tense );
- void setupWordTypes(KEduVocWordType* parent);
+ void setupWordTypes(QmVocWordType* parent);
private:
static const QString KVTML_1_SEPERATOR;
};
-#endif // KEDUVOCKVTMLCOMPABILITY_H
+#endif // QMVOCKVTMLCOMPABILITY_H