libkdeedu/keduvocdocument
keduvocconjugation.h
Go to the documentation of this file.00001 /*************************************************************************** 00002 00003 C++ Interface: keduvocconjugation 00004 00005 ----------------------------------------------------------------------- 00006 00007 begin : Di Aug 28 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 00024 00025 #ifndef KEDUVOCCONJUGATION_H 00026 #define KEDUVOCCONJUGATION_H 00027 00028 #include "libkeduvocdocument_export.h" 00029 #include "keduvoctext.h" 00030 #include "keduvocwordflags.h" 00031 00032 #include <QtCore/QStringList> 00033 00037 class KEDUVOCDOCUMENT_EXPORT KEduVocConjugation 00038 { 00039 public: 00040 00044 explicit KEduVocConjugation(); 00045 00046 KEduVocConjugation( const KEduVocConjugation& rhs ); 00047 00048 ~KEduVocConjugation(); 00049 00050 KEduVocConjugation& operator = ( const KEduVocConjugation& a ); 00051 bool operator == ( const KEduVocConjugation& a ) const; 00052 00053 KEduVocText& conjugation(KEduVocWordFlags flags) const; 00054 void setConjugation(const KEduVocText& conjugation, KEduVocWordFlags flags); 00055 00056 QList<KEduVocWordFlags> keys(); 00057 00058 bool isEmpty(); 00059 00064 void toKVTML2(QDomElement& parent, const QString &tense); 00065 00071 static KEduVocConjugation* fromKVTML2(QDomElement& parent); 00072 00073 private: 00074 class Private; 00075 Private* const d; 00076 }; 00077 00078 00079 00080 #endif // KEDUVOCCONJUGATION_H 00081
KDE 4.2 API Reference