00001 /* -*- mode: c++ -*- */ 00002 00014 #ifndef _QtXmlTextNode_H_ 00015 #define _QtXmlTextNode_H_ 00016 00017 #ifdef _MSC_VER 00018 # pragma warning (disable : 4250) // inherits via dominance 00019 #endif 00020 00021 // for clone defect 00022 #ifdef _MSC_VER 00023 #include "msdevstudio/MSconfig.h" 00024 #endif 00025 00026 #include "QtXmlNode.h" 00027 00028 #include "xml/XmlTextNode.h" 00029 00030 #include <qdom.h> 00031 00032 namespace hippodraw { 00033 00038 class MDL_QTHIPPOPLOT_API QtXmlTextNode : public XmlTextNode, public QtXmlNode 00039 { 00040 00041 private: 00042 00044 QDomText m_text_node; 00045 00046 QtXmlTextNode ( const QDomText & ); 00047 00048 public: 00049 00050 friend class QtXmlDocument; 00051 00053 QtXmlTextNode ( const QtXmlTextNode & ); 00054 00057 ~QtXmlTextNode (); 00058 00061 void setData ( const std::string & data ); 00062 00063 }; 00064 00065 } // namespace hippodraw 00066 00067 #endif // _QtXmlTextNode_H_