QtXmlTextNode.cxx
Go to the documentation of this file.
1 
12 #include "QtXmlTextNode.h"
13 
14 #include <qstring.h>
15 
16 using namespace hippodraw;
17 
19 QtXmlTextNode ( const QtXmlTextNode & node )
20  : XmlNode (),
21  XmlTextNode (),
22  QtXmlNode ()
23 {
24  m_text_node = node.m_text_node;
26 }
27 
29 QtXmlTextNode ( const QDomText & node )
30 {
31  m_text_node = node;
33 }
34 
37 {
38 }
39 
40 void
42 setData ( const std::string & data )
43 {
44  QString qstring ( data.c_str() );
45  m_text_node.setData ( qstring );
46 }

Generated for HippoDraw Class Library by doxygen