]> Git trees. - libqmvoc.git/commitdiff
adapt qmvocidentifier.h for querymee
authorReto Zingg <g.d0b3rm4n@gmail.com>
Sat, 15 Dec 2012 17:28:48 +0000 (19:28 +0200)
committerReto Zingg <g.d0b3rm4n@gmail.com>
Sat, 15 Dec 2012 17:28:48 +0000 (19:28 +0200)
qmvocidentifier.h

index ca999506f0456a183c35b3610d1ca3df7d2344a2..3f027caf7095b00985cad36a5aac12e358e0232b 100644 (file)
@@ -1,5 +1,10 @@
+/***************************************************************************
+*   this file is from kdeedu project. Filename: keduvocidentifier.h
+***************************************************************************/
+
 /***************************************************************************
     Copyright 2007-2008 Frederik Gladhorn <gladhorn@kde.org>
+    Copyright (C) 2010, 2012 Reto Zingg <g.d0b3rm4n@gmail.com>
  ***************************************************************************/
 
 /***************************************************************************
  *   (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 <QtCore/QList>
 #include <QtCore/QString>
 /**
 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