Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
qtxml
QtXmlDocument.h
Go to the documentation of this file.
1
/* -*- mode: c++ -*- */
2
14
#ifndef _QtXmlDocument_H_
15
#define _QtXmlDocument_H_
16
17
#include "
qt/libqthippo.h
"
18
19
#include "
xml/XmlDocument.h
"
20
21
#include <qdom.h>
22
23
namespace
hippodraw {
24
30
class
MDL_QTHIPPOPLOT_API
QtXmlDocument
:
public
XmlDocument
31
{
32
33
private
:
34
36
QDomDocument
m_document
;
37
39
QtXmlDocument
(
const
QtXmlDocument
& );
40
41
public
:
42
44
QtXmlDocument
(
QDomDocument
document );
45
46
QtXmlDocument
(
const
std:: string & name );
47
50
~
QtXmlDocument
();
51
52
virtual
XmlElement
* documentElement ( )
const
;
53
virtual
XmlElement
* createElement (
const
std::string & tagName );
54
virtual
XmlTextNode
* createTextNode (
const
std::string & tag );
55
virtual
void
appendChild (
XmlElement
& );
56
virtual
Status
saveToFile (
const
std::string & filename );
57
virtual
Status
setContent (
const
std::string & filename );
58
59
};
60
61
}
// namespace hippodraw
62
63
#endif // _QtXmlDocument_H_
Generated for HippoDraw Class Library by