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 00036 class MDL_QTHIPPOPLOT_API QtXmlTextNode : public XmlTextNode, public QtXmlNode 00037 { 00038 00039 private: 00040 00042 QDomText * m_text_node; 00043 00044 QtXmlTextNode ( const QDomText & ); 00045 00046 public: 00047 00048 friend class QtXmlDocument; 00049 00051 QtXmlTextNode ( const QtXmlTextNode & ); 00052 00055 ~QtXmlTextNode (); 00056 00059 void setData ( const std::string & data ); 00060 00061 }; 00062 00063 #endif // _QtXmlTextNode_H_