From 26a36bc85908b57886f72c5b58a96e7c3005e879 Mon Sep 17 00:00:00 2001 From: Reto Zingg Date: Sat, 15 Dec 2012 19:28:48 +0200 Subject: [PATCH] adapt qmvocarticle.h for querymee --- qmvocarticle.h | 31 ++++++++++++++++++------------- 1 file changed, 18 insertions(+), 13 deletions(-) diff --git a/qmvocarticle.h b/qmvocarticle.h index 3774da3..c47fd62 100644 --- a/qmvocarticle.h +++ b/qmvocarticle.h @@ -1,8 +1,13 @@ +/*************************************************************************** +* this file is from kdeedu project. Filename: keduvocarticle.h +***************************************************************************/ + /*************************************************************************** Copyright 1999-2001 Ewald Arnold Copyright 2005, 2007 Peter Hedlund Copyright 2007-2008 Frederik Gladhorn + Copyright (C) 2010, 2012 Reto Zingg ***************************************************************************/ @@ -15,22 +20,22 @@ * * ***************************************************************************/ -#ifndef KEDUVOCARTICLE_H -#define KEDUVOCARTICLE_H +#ifndef QMVOCARTICLE_H +#define QMVOCARTICLE_H -#include "libkeduvocdocument_export.h" +#include "libqmvocdocument_export.h" #include -#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: @@ -39,12 +44,12 @@ 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! @@ -55,21 +60,21 @@ public: * @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; -- 2.47.3