+/***************************************************************************
+* this file is from kdeedu project. Filename: keduvocarticle.h
+***************************************************************************/
+
/***************************************************************************
Copyright 1999-2001 Ewald Arnold <kvoctrain@ewald-arnold.de>
Copyright 2005, 2007 Peter Hedlund <peter.hedlund@kdemail.net>
Copyright 2007-2008 Frederik Gladhorn <frederik.gladhorn@kdemail.net>
+ Copyright (C) 2010, 2012 Reto Zingg <g.d0b3rm4n@gmail.com>
***************************************************************************/
* *
***************************************************************************/
-#ifndef KEDUVOCARTICLE_H
-#define KEDUVOCARTICLE_H
+#ifndef QMVOCARTICLE_H
+#define QMVOCARTICLE_H
-#include "libkeduvocdocument_export.h"
+#include "libqmvocdocument_export.h"
#include <QtCore/QStringList>
-#include "keduvocwordflags.h"
+#include "qmvocwordflags.h"
-class KEduVocWordType;
+class QmVocWordType;
/**
* Class representing the articles of a language
*
* It contains all available articles of the language as QString
*/
-class KEDUVOCDOCUMENT_EXPORT KEduVocArticle
+class QMVOCDOCUMENT_EXPORT QmVocArticle
{
public:
/**
* The constructor without arguments
*/
- explicit KEduVocArticle();
+ explicit QmVocArticle();
/** copy constructor for d-pointer safety
* @param other article object to copy
*/
- KEduVocArticle( const KEduVocArticle &other );
+ QmVocArticle( const QmVocArticle &other );
/**
* DEPRECATED The constructor with arguments, assumes singular!
* @param nat_def reference to a QString with the definite neutral article
* @param nat_indef reference to a QString with the indefinite neutral article
*/
- KDE_DEPRECATED KEduVocArticle( const QString &fem_def, const QString &fem_indef, const QString &mal_def, const QString &mal_indef, const QString &nat_def, const QString &nat_indef );
+ KDE_DEPRECATED QmVocArticle( const QString &fem_def, const QString &fem_indef, const QString &mal_def, const QString &mal_indef, const QString &nat_def, const QString &nat_indef );
/**
* default destructor, deletes the d pointer
*/
- ~KEduVocArticle();
+ ~QmVocArticle();
/**
* assignment operator for d-pointer copying
*/
- KEduVocArticle &operator= ( const KEduVocArticle& other );
+ QmVocArticle &operator= ( const QmVocArticle& other );
- QString article(const KEduVocWordFlags&);
+ QString article(const QmVocWordFlags&);
- void setArticle(const QString& article, const KEduVocWordFlags&);
+ void setArticle(const QString& article, const QmVocWordFlags&);
bool isArticle(const QString& article) const;