libkdeedu/keduvocdocument
keduvocidentifier.h
Go to the documentation of this file.00001 /*************************************************************************** 00002 00003 C++ Interface: keduvocidentifier 00004 00005 ----------------------------------------------------------------------- 00006 00007 begin : Mi Aug 29 2007 00008 00009 copyright : (C) 2007 Frederik Gladhorn <frederik.gladhorn@kdemail.net> 00010 00011 ----------------------------------------------------------------------- 00012 00013 ***************************************************************************/ 00014 00015 /*************************************************************************** 00016 * * 00017 * This program is free software; you can redistribute it and/or modify * 00018 * it under the terms of the GNU General Public License as published by * 00019 * the Free Software Foundation; either version 2 of the License, or * 00020 * (at your option) any later version. * 00021 * * 00022 ***************************************************************************/ 00023 #ifndef KEDUVOCIDENTIFIER_H 00024 #define KEDUVOCIDENTIFIER_H 00025 00026 #include "libkeduvocdocument_export.h" 00027 00028 #include "keduvocpersonalpronoun.h" 00029 #include "keduvocgrammar.h" 00030 00031 #include <QtCore/QList> 00032 #include <QtCore/QString> 00033 #include <QtCore/QSet> 00034 00035 00041 class KEDUVOCDOCUMENT_EXPORT KEduVocIdentifier 00042 { 00043 public: 00047 explicit KEduVocIdentifier(); 00048 00053 KEduVocIdentifier( const KEduVocIdentifier &other ); 00054 00058 ~KEduVocIdentifier(); 00059 00065 KEduVocIdentifier& operator= ( const KEduVocIdentifier &other ); 00066 public: 00067 00072 QString name() const; 00077 void setName( const QString& name ); 00078 00083 QString locale() const; 00088 void setLocale( const QString& name ); 00089 00090 00095 KEduVocArticle article() const; 00096 00101 void setArticle( const KEduVocArticle& article ); 00102 00103 00108 KEduVocPersonalPronoun personalPronouns() const; 00109 00114 void setPersonalPronouns( const KEduVocPersonalPronoun &pronouns ); 00115 00116 private: 00117 class Private; 00118 Private * const d; 00119 00120 }; 00121 00122 #endif
KDE 4.0 API Reference