libkdeedu/keduvocdocument
keduvocdeclension.h
Go to the documentation of this file.00001 /*************************************************************************** 00002 00003 C++ Interface: keduvocdeclension 00004 00005 ----------------------------------------------------------------------- 00006 00007 begin : Do Sep 20 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 KEDUVOCDECLENSION_H 00024 #define KEDUVOCDECLENSION_H 00025 00026 #include "libkeduvocdocument_export.h" 00027 00028 #include "keduvoctext.h" 00029 #include "keduvocwordflags.h" 00030 00036 class KEDUVOCDOCUMENT_EXPORT KEduVocDeclension{ 00037 public: 00038 00042 explicit KEduVocDeclension(); 00043 00047 KEduVocDeclension( const KEduVocDeclension &other ); 00048 00049 ~KEduVocDeclension(); 00050 00055 // will probably not be necessary 00056 // bool operator == ( const KEduVocDeclension& a ) const; 00057 00062 KEduVocDeclension& operator= ( const KEduVocDeclension& other ); 00063 00070 KEduVocText& declension(KEduVocWordFlags flags); 00071 00078 void setDeclension(const KEduVocText& declension, KEduVocWordFlags flags); 00079 00080 bool isEmpty(); 00081 00082 00087 void toKVTML2(QDomElement& parent); 00088 00094 static KEduVocDeclension* fromKVTML2(QDomElement& parent); 00095 00096 private: 00097 class Private; 00098 Private * const d; 00099 }; 00100 00101 #endif
KDE 4.2 API Reference