QCAD Application Framework
CAD Application Development and Automation.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
qtscriptshell_QXmlSerializer.h
Go to the documentation of this file.
1 #ifndef QTSCRIPTSHELL_QXMLSERIALIZER_H
2 #define QTSCRIPTSHELL_QXMLSERIALIZER_H
3 
4 #include <qxmlserializer.h>
5 
6 #include <QtScript/qscriptvalue.h>
7 
8 class QtScriptShell_QXmlSerializer : public QXmlSerializer
9 {
10 public:
11  QtScriptShell_QXmlSerializer(const QXmlQuery& query, QIODevice* outputDevice);
13 
14  void atomicValue(const QVariant& value);
15  void attribute(const QXmlName& name, const QStringRef& value);
16  void characters(const QStringRef& value);
17  void comment(const QString& value);
18  void endDocument();
19  void endElement();
20  void endOfSequence();
21  void namespaceBinding(const QXmlName& nb);
22  void processingInstruction(const QXmlName& name, const QString& value);
23  void startDocument();
24  void startElement(const QXmlName& name);
25  void startOfSequence();
26  void whitespaceOnly(const QStringRef& value);
27 
28  QScriptValue __qtscript_self;
29 };
30 
31 #endif // QTSCRIPTSHELL_QXMLSERIALIZER_H