QCAD Application Framework
CAD Application Development and Automation.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
qtscriptshell_QXmlInputSource.h
Go to the documentation of this file.
1 #ifndef QTSCRIPTSHELL_QXMLINPUTSOURCE_H
2 #define QTSCRIPTSHELL_QXMLINPUTSOURCE_H
3 
4 #include <qxml.h>
5 
6 #include <QtScript/qscriptvalue.h>
7 
8 class QtScriptShell_QXmlInputSource : public QXmlInputSource
9 {
10 public:
12  QtScriptShell_QXmlInputSource(QIODevice* dev);
14 
15  QString data() const;
16  void fetchData();
17  QString fromRawData(const QByteArray& data, bool beginning = false);
18  QChar next();
19  void reset();
20  void setData(const QByteArray& dat);
21  void setData(const QString& dat);
22 
23  QScriptValue __qtscript_self;
24 };
25 
26 #endif // QTSCRIPTSHELL_QXMLINPUTSOURCE_H