PythonQtWrapper_QXmlStreamWriter.h
57 lines
| 3.5 KiB
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QXMLSTREAMWRITER_H | ||
#define PYTHONQTWRAPPER_QXMLSTREAMWRITER_H | ||||
#include <qxmlstream.h> | ||||
#include <QObject> | ||||
florianlink
|
r24 | #include <PythonQt.h> | ||
florianlink
|
r13 | #include <QVariant> | ||
#include <qbytearray.h> | ||||
#include <qiodevice.h> | ||||
#include <qtextcodec.h> | ||||
#include <qxmlstream.h> | ||||
class PythonQtWrapper_QXmlStreamWriter : public QObject | ||||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QXmlStreamWriter* new_QXmlStreamWriter(); | ||||
QXmlStreamWriter* new_QXmlStreamWriter(QByteArray* array); | ||||
QXmlStreamWriter* new_QXmlStreamWriter(QIODevice* device); | ||||
void delete_QXmlStreamWriter(QXmlStreamWriter* obj) { delete obj; } | ||||
florianlink
|
r28 | QIODevice* device(QXmlStreamWriter* theWrappedObject) const; | ||
void writeAttributes(QXmlStreamWriter* theWrappedObject, const QXmlStreamAttributes& attributes); | ||||
void writeDefaultNamespace(QXmlStreamWriter* theWrappedObject, const QString& namespaceUri); | ||||
void setCodec(QXmlStreamWriter* theWrappedObject, QTextCodec* codec); | ||||
void writeEmptyElement(QXmlStreamWriter* theWrappedObject, const QString& qualifiedName); | ||||
void writeTextElement(QXmlStreamWriter* theWrappedObject, const QString& namespaceUri, const QString& name, const QString& text); | ||||
void setCodec(QXmlStreamWriter* theWrappedObject, const char* codecName); | ||||
void writeComment(QXmlStreamWriter* theWrappedObject, const QString& text); | ||||
void setAutoFormatting(QXmlStreamWriter* theWrappedObject, bool arg__1); | ||||
void writeEmptyElement(QXmlStreamWriter* theWrappedObject, const QString& namespaceUri, const QString& name); | ||||
void writeEntityReference(QXmlStreamWriter* theWrappedObject, const QString& name); | ||||
florianlink
|
r24 | void writeNamespace(QXmlStreamWriter* theWrappedObject, const QString& namespaceUri, const QString& prefix = QString()); | ||
florianlink
|
r13 | void setAutoFormattingIndent(QXmlStreamWriter* theWrappedObject, int spaces); | ||
florianlink
|
r24 | int autoFormattingIndent(QXmlStreamWriter* theWrappedObject) const; | ||
florianlink
|
r28 | void writeStartElement(QXmlStreamWriter* theWrappedObject, const QString& namespaceUri, const QString& name); | ||
void writeTextElement(QXmlStreamWriter* theWrappedObject, const QString& qualifiedName, const QString& text); | ||||
florianlink
|
r13 | void setDevice(QXmlStreamWriter* theWrappedObject, QIODevice* device); | ||
florianlink
|
r24 | void writeStartDocument(QXmlStreamWriter* theWrappedObject, const QString& version); | ||
void writeDTD(QXmlStreamWriter* theWrappedObject, const QString& dtd); | ||||
void writeEndDocument(QXmlStreamWriter* theWrappedObject); | ||||
void writeAttribute(QXmlStreamWriter* theWrappedObject, const QXmlStreamAttribute& attribute); | ||||
QTextCodec* codec(QXmlStreamWriter* theWrappedObject) const; | ||||
florianlink
|
r28 | void writeEndElement(QXmlStreamWriter* theWrappedObject); | ||
florianlink
|
r24 | bool autoFormatting(QXmlStreamWriter* theWrappedObject) const; | ||
florianlink
|
r28 | void writeStartElement(QXmlStreamWriter* theWrappedObject, const QString& qualifiedName); | ||
void writeCurrentToken(QXmlStreamWriter* theWrappedObject, const QXmlStreamReader& reader); | ||||
florianlink
|
r13 | void writeAttribute(QXmlStreamWriter* theWrappedObject, const QString& namespaceUri, const QString& name, const QString& value); | ||
florianlink
|
r24 | void writeStartDocument(QXmlStreamWriter* theWrappedObject); | ||
florianlink
|
r13 | void writeCDATA(QXmlStreamWriter* theWrappedObject, const QString& text); | ||
florianlink
|
r24 | void writeCharacters(QXmlStreamWriter* theWrappedObject, const QString& text); | ||
florianlink
|
r28 | void writeAttribute(QXmlStreamWriter* theWrappedObject, const QString& qualifiedName, const QString& value); | ||
florianlink
|
r13 | void writeProcessingInstruction(QXmlStreamWriter* theWrappedObject, const QString& target, const QString& data = QString()); | ||
}; | ||||
#endif // PYTHONQTWRAPPER_QXMLSTREAMWRITER_H | ||||