From: Reto Zingg Date: Sat, 15 Dec 2012 17:28:48 +0000 (+0200) Subject: adapt qmvocidentifier.h for querymee X-Git-Url: https://git.rmz.fi/?a=commitdiff_plain;h=12e5f575b7cff0939a4192afcfd67e30e0bbf193;p=libqmvoc.git adapt qmvocidentifier.h for querymee --- diff --git a/qmvocidentifier.h b/qmvocidentifier.h index ca99950..3f027ca 100644 --- a/qmvocidentifier.h +++ b/qmvocidentifier.h @@ -1,5 +1,10 @@ +/*************************************************************************** +* this file is from kdeedu project. Filename: keduvocidentifier.h +***************************************************************************/ + /*************************************************************************** Copyright 2007-2008 Frederik Gladhorn + Copyright (C) 2010, 2012 Reto Zingg ***************************************************************************/ /*************************************************************************** @@ -10,13 +15,13 @@ * (at your option) any later version. * * * ***************************************************************************/ -#ifndef KEDUVOCIDENTIFIER_H -#define KEDUVOCIDENTIFIER_H +#ifndef QMVOCIDENTIFIER_H +#define QMVOCIDENTIFIER_H -#include "libkeduvocdocument_export.h" +#include "libqmvocdocument_export.h" -#include "keduvocpersonalpronoun.h" -#include "keduvocarticle.h" +#include "qmvocpersonalpronoun.h" +#include "qmvocarticle.h" #include #include @@ -26,31 +31,31 @@ /** Class to store meta information about a language or any other category in the vocabulary. */ -class KEDUVOCDOCUMENT_EXPORT KEduVocIdentifier +class QMVOCDOCUMENT_EXPORT QmVocIdentifier { public: /** * Default ctor. */ - explicit KEduVocIdentifier(); + explicit QmVocIdentifier(); /** * Copy ctor. * @param other */ - KEduVocIdentifier( const KEduVocIdentifier &other ); + QmVocIdentifier( const QmVocIdentifier &other ); /** * dtor */ - ~KEduVocIdentifier(); + ~QmVocIdentifier(); /** * assignment operator * @param other * @return */ - KEduVocIdentifier& operator= ( const KEduVocIdentifier &other ); + QmVocIdentifier& operator= ( const QmVocIdentifier &other ); public: /** @@ -79,25 +84,25 @@ public: * Articles (a, the in English, el, la,... in Spanish) * @returns articles */ - KEduVocArticle& article() const; + QmVocArticle& article() const; /** * Sets the articles for this identifier * @param art article block */ - void setArticle( const KEduVocArticle& article ); + void setArticle( const QmVocArticle& article ); /** * Get the personal pronouns for this identifier - * @returns a KEduVocPersonalPronoun containing the personal pronouns + * @returns a QmVocPersonalPronoun containing the personal pronouns */ - KEduVocPersonalPronoun& personalPronouns() const; + QmVocPersonalPronoun& personalPronouns() const; /** * Sets personal pronouns - * @param pronouns a KEduVocConjugation containing the personal pronouns + * @param pronouns a QmVocConjugation containing the personal pronouns */ - void setPersonalPronouns( const KEduVocPersonalPronoun &pronouns ); + void setPersonalPronouns( const QmVocPersonalPronoun &pronouns ); /** * Returns the name of tense number @p tenseIndex