com_trolltech_qt_xmlpatterns0.h
609 lines
| 26.5 KiB
| text/x-c
|
CLexer
florianlink
|
r99 | #include <PythonQt.h> | ||
#include <QObject> | ||||
#include <QVariant> | ||||
#include <qabstractmessagehandler.h> | ||||
#include <qabstracturiresolver.h> | ||||
#include <qabstractxmlnodemodel.h> | ||||
#include <qabstractxmlreceiver.h> | ||||
#include <qbytearray.h> | ||||
#include <qcoreevent.h> | ||||
#include <qiodevice.h> | ||||
#include <qlist.h> | ||||
florianlink
|
r110 | #include <qnetworkaccessmanager.h> | ||
florianlink
|
r99 | #include <qobject.h> | ||
#include <qsimplexmlnodemodel.h> | ||||
#include <qsourcelocation.h> | ||||
#include <qtextcodec.h> | ||||
#include <qurl.h> | ||||
#include <qvector.h> | ||||
#include <qxmlformatter.h> | ||||
#include <qxmlname.h> | ||||
#include <qxmlnamepool.h> | ||||
#include <qxmlquery.h> | ||||
#include <qxmlresultitems.h> | ||||
florianlink
|
r110 | #include <qxmlschema.h> | ||
#include <qxmlschemavalidator.h> | ||||
florianlink
|
r99 | #include <qxmlserializer.h> | ||
class PythonQtShell_QAbstractMessageHandler : public QAbstractMessageHandler | ||||
{ | ||||
public: | ||||
florianlink
|
r186 | PythonQtShell_QAbstractMessageHandler(QObject* parent = 0):QAbstractMessageHandler(parent),_wrapper(NULL) {}; | ||
~PythonQtShell_QAbstractMessageHandler(); | ||||
florianlink
|
r99 | |||
florianlink
|
r120 | virtual void childEvent(QChildEvent* arg__1); | ||
virtual void customEvent(QEvent* arg__1); | ||||
florianlink
|
r128 | virtual bool event(QEvent* arg__1); | ||
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); | ||||
virtual void handleMessage(QtMsgType type, const QString& description, const QUrl& identifier, const QSourceLocation& sourceLocation); | ||||
florianlink
|
r120 | virtual void timerEvent(QTimerEvent* arg__1); | ||
florianlink
|
r99 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
class PythonQtWrapper_QAbstractMessageHandler : public QObject | ||||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
florianlink
|
r186 | QAbstractMessageHandler* new_QAbstractMessageHandler(QObject* parent = 0); | ||
florianlink
|
r99 | void delete_QAbstractMessageHandler(QAbstractMessageHandler* obj) { delete obj; } | ||
void message(QAbstractMessageHandler* theWrappedObject, QtMsgType type, const QString& description, const QUrl& identifier = QUrl(), const QSourceLocation& sourceLocation = QSourceLocation()); | ||||
}; | ||||
class PythonQtShell_QAbstractUriResolver : public QAbstractUriResolver | ||||
{ | ||||
public: | ||||
PythonQtShell_QAbstractUriResolver(QObject* parent = 0):QAbstractUriResolver(parent),_wrapper(NULL) {}; | ||||
florianlink
|
r186 | ~PythonQtShell_QAbstractUriResolver(); | ||
florianlink
|
r110 | virtual void childEvent(QChildEvent* arg__1); | ||
florianlink
|
r99 | virtual void customEvent(QEvent* arg__1); | ||
florianlink
|
r128 | virtual bool event(QEvent* arg__1); | ||
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); | ||||
virtual QUrl resolve(const QUrl& relative, const QUrl& baseURI) const; | ||||
florianlink
|
r117 | virtual void timerEvent(QTimerEvent* arg__1); | ||
florianlink
|
r99 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
class PythonQtWrapper_QAbstractUriResolver : public QObject | ||||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QAbstractUriResolver* new_QAbstractUriResolver(QObject* parent = 0); | ||||
void delete_QAbstractUriResolver(QAbstractUriResolver* obj) { delete obj; } | ||||
}; | ||||
class PythonQtShell_QAbstractXmlNodeModel : public QAbstractXmlNodeModel | ||||
{ | ||||
public: | ||||
florianlink
|
r186 | ~PythonQtShell_QAbstractXmlNodeModel(); | ||
florianlink
|
r99 | virtual QVector<QXmlNodeModelIndex > attributes(const QXmlNodeModelIndex& element) const; | ||
florianlink
|
r110 | virtual QUrl baseUri(const QXmlNodeModelIndex& ni) const; | ||
florianlink
|
r120 | virtual QXmlNodeModelIndex::DocumentOrder compareOrder(const QXmlNodeModelIndex& ni1, const QXmlNodeModelIndex& ni2) const; | ||
florianlink
|
r128 | virtual QUrl documentUri(const QXmlNodeModelIndex& ni) const; | ||
virtual QXmlNodeModelIndex elementById(const QXmlName& NCName) const; | ||||
virtual bool isDeepEqual(const QXmlNodeModelIndex& ni1, const QXmlNodeModelIndex& ni2) const; | ||||
virtual QXmlNodeModelIndex::NodeKind kind(const QXmlNodeModelIndex& ni) const; | ||||
virtual QXmlName name(const QXmlNodeModelIndex& ni) const; | ||||
florianlink
|
r99 | virtual QVector<QXmlName > namespaceBindings(const QXmlNodeModelIndex& n) const; | ||
florianlink
|
r128 | virtual short namespaceForPrefix(const QXmlNodeModelIndex& ni, const short prefix) const; | ||
virtual QXmlNodeModelIndex nextFromSimpleAxis(QAbstractXmlNodeModel::SimpleAxis axis, const QXmlNodeModelIndex& origin) const; | ||||
virtual QVector<QXmlNodeModelIndex > nodesByIdref(const QXmlName& NCName) const; | ||||
virtual QXmlNodeModelIndex root(const QXmlNodeModelIndex& n) const; | ||||
florianlink
|
r99 | virtual QString stringValue(const QXmlNodeModelIndex& n) const; | ||
florianlink
|
r110 | virtual QVariant typedValue(const QXmlNodeModelIndex& n) const; | ||
florianlink
|
r99 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
class PythonQtWrapper_QAbstractXmlNodeModel : public QObject | ||||
{ Q_OBJECT | ||||
public: | ||||
florianlink
|
r110 | Q_ENUMS(SimpleAxis NodeCopySetting ) | ||
florianlink
|
r99 | enum SimpleAxis{ | ||
Parent = QAbstractXmlNodeModel::Parent, FirstChild = QAbstractXmlNodeModel::FirstChild, PreviousSibling = QAbstractXmlNodeModel::PreviousSibling, NextSibling = QAbstractXmlNodeModel::NextSibling}; | ||||
florianlink
|
r110 | enum NodeCopySetting{ | ||
InheritNamespaces = QAbstractXmlNodeModel::InheritNamespaces, PreserveNamespaces = QAbstractXmlNodeModel::PreserveNamespaces}; | ||||
florianlink
|
r99 | public slots: | ||
void delete_QAbstractXmlNodeModel(QAbstractXmlNodeModel* obj) { delete obj; } | ||||
florianlink
|
r110 | QSourceLocation sourceLocation(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& index) const; | ||
florianlink
|
r99 | }; | ||
class PythonQtShell_QAbstractXmlReceiver : public QAbstractXmlReceiver | ||||
{ | ||||
public: | ||||
PythonQtShell_QAbstractXmlReceiver():QAbstractXmlReceiver(),_wrapper(NULL) {}; | ||||
florianlink
|
r186 | ~PythonQtShell_QAbstractXmlReceiver(); | ||
florianlink
|
r120 | virtual void atomicValue(const QVariant& value); | ||
florianlink
|
r128 | virtual void attribute(const QXmlName& name, const QStringRef& value); | ||
florianlink
|
r120 | virtual void characters(const QStringRef& value); | ||
virtual void comment(const QString& value); | ||||
florianlink
|
r128 | virtual void endDocument(); | ||
virtual void endElement(); | ||||
virtual void endOfSequence(); | ||||
virtual void namespaceBinding(const QXmlName& name); | ||||
virtual void processingInstruction(const QXmlName& target, const QString& value); | ||||
virtual void startDocument(); | ||||
virtual void startElement(const QXmlName& name); | ||||
florianlink
|
r99 | virtual void startOfSequence(); | ||
virtual void whitespaceOnly(const QStringRef& value); | ||||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
class PythonQtPublicPromoter_QAbstractXmlReceiver : public QAbstractXmlReceiver | ||||
{ public: | ||||
inline void promoted_whitespaceOnly(const QStringRef& value) { QAbstractXmlReceiver::whitespaceOnly(value); } | ||||
}; | ||||
class PythonQtWrapper_QAbstractXmlReceiver : public QObject | ||||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QAbstractXmlReceiver* new_QAbstractXmlReceiver(); | ||||
florianlink
|
r110 | QAbstractXmlReceiver* new_QAbstractXmlReceiver(const QAbstractXmlReceiver& other) { | ||
PythonQtShell_QAbstractXmlReceiver* a = new PythonQtShell_QAbstractXmlReceiver(); | ||||
*((QAbstractXmlReceiver*)a) = other; | ||||
return a; } | ||||
florianlink
|
r99 | void delete_QAbstractXmlReceiver(QAbstractXmlReceiver* obj) { delete obj; } | ||
void whitespaceOnly(QAbstractXmlReceiver* theWrappedObject, const QStringRef& value); | ||||
}; | ||||
florianlink
|
r110 | class PythonQtWrapper_QPatternist : public QObject | ||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
}; | ||||
class PythonQtWrapper_QPatternistSDK : public QObject | ||||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
}; | ||||
florianlink
|
r99 | class PythonQtShell_QSimpleXmlNodeModel : public QSimpleXmlNodeModel | ||
{ | ||||
public: | ||||
PythonQtShell_QSimpleXmlNodeModel(const QXmlNamePool& namePool):QSimpleXmlNodeModel(namePool),_wrapper(NULL) {}; | ||||
florianlink
|
r186 | ~PythonQtShell_QSimpleXmlNodeModel(); | ||
florianlink
|
r117 | virtual QVector<QXmlNodeModelIndex > attributes(const QXmlNodeModelIndex& element) const; | ||
florianlink
|
r128 | virtual QUrl baseUri(const QXmlNodeModelIndex& node) const; | ||
florianlink
|
r120 | virtual QXmlNodeModelIndex::DocumentOrder compareOrder(const QXmlNodeModelIndex& ni1, const QXmlNodeModelIndex& ni2) const; | ||
florianlink
|
r128 | virtual QUrl documentUri(const QXmlNodeModelIndex& ni) const; | ||
virtual QXmlNodeModelIndex elementById(const QXmlName& id) const; | ||||
virtual QXmlNodeModelIndex::NodeKind kind(const QXmlNodeModelIndex& ni) const; | ||||
florianlink
|
r110 | virtual QXmlName name(const QXmlNodeModelIndex& ni) const; | ||
florianlink
|
r128 | virtual QVector<QXmlName > namespaceBindings(const QXmlNodeModelIndex& arg__1) const; | ||
virtual QXmlNodeModelIndex nextFromSimpleAxis(QAbstractXmlNodeModel::SimpleAxis axis, const QXmlNodeModelIndex& origin) const; | ||||
virtual QVector<QXmlNodeModelIndex > nodesByIdref(const QXmlName& idref) const; | ||||
florianlink
|
r99 | virtual QXmlNodeModelIndex root(const QXmlNodeModelIndex& n) const; | ||
florianlink
|
r128 | virtual QString stringValue(const QXmlNodeModelIndex& node) const; | ||
florianlink
|
r120 | virtual QVariant typedValue(const QXmlNodeModelIndex& n) const; | ||
florianlink
|
r99 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
class PythonQtPublicPromoter_QSimpleXmlNodeModel : public QSimpleXmlNodeModel | ||||
{ public: | ||||
florianlink
|
r128 | inline QUrl promoted_baseUri(const QXmlNodeModelIndex& node) const { return QSimpleXmlNodeModel::baseUri(node); } | ||
florianlink
|
r110 | inline QXmlNodeModelIndex promoted_elementById(const QXmlName& id) const { return QSimpleXmlNodeModel::elementById(id); } | ||
florianlink
|
r99 | inline QVector<QXmlName > promoted_namespaceBindings(const QXmlNodeModelIndex& arg__1) const { return QSimpleXmlNodeModel::namespaceBindings(arg__1); } | ||
florianlink
|
r128 | inline QVector<QXmlNodeModelIndex > promoted_nodesByIdref(const QXmlName& idref) const { return QSimpleXmlNodeModel::nodesByIdref(idref); } | ||
inline QString promoted_stringValue(const QXmlNodeModelIndex& node) const { return QSimpleXmlNodeModel::stringValue(node); } | ||||
florianlink
|
r99 | }; | ||
class PythonQtWrapper_QSimpleXmlNodeModel : public QObject | ||||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QSimpleXmlNodeModel* new_QSimpleXmlNodeModel(const QXmlNamePool& namePool); | ||||
void delete_QSimpleXmlNodeModel(QSimpleXmlNodeModel* obj) { delete obj; } | ||||
florianlink
|
r128 | QUrl baseUri(QSimpleXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& node) const; | ||
florianlink
|
r110 | QXmlNodeModelIndex elementById(QSimpleXmlNodeModel* theWrappedObject, const QXmlName& id) const; | ||
florianlink
|
r128 | QXmlNamePool* namePool(QSimpleXmlNodeModel* theWrappedObject) const; | ||
florianlink
|
r99 | QVector<QXmlName > namespaceBindings(QSimpleXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& arg__1) const; | ||
florianlink
|
r128 | QVector<QXmlNodeModelIndex > nodesByIdref(QSimpleXmlNodeModel* theWrappedObject, const QXmlName& idref) const; | ||
QString stringValue(QSimpleXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& node) const; | ||||
florianlink
|
r99 | }; | ||
class PythonQtWrapper_QSourceLocation : public QObject | ||||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QSourceLocation* new_QSourceLocation(); | ||||
QSourceLocation* new_QSourceLocation(const QSourceLocation& other); | ||||
QSourceLocation* new_QSourceLocation(const QUrl& uri, int line = -1, int column = -1); | ||||
void delete_QSourceLocation(QSourceLocation* obj) { delete obj; } | ||||
florianlink
|
r128 | qint64 column(QSourceLocation* theWrappedObject) const; | ||
bool isNull(QSourceLocation* theWrappedObject) const; | ||||
florianlink
|
r110 | qint64 line(QSourceLocation* theWrappedObject) const; | ||
florianlink
|
r120 | bool __ne__(QSourceLocation* theWrappedObject, const QSourceLocation& other) const; | ||
bool __eq__(QSourceLocation* theWrappedObject, const QSourceLocation& other) const; | ||||
florianlink
|
r128 | void setColumn(QSourceLocation* theWrappedObject, qint64 newColumn); | ||
florianlink
|
r110 | void setLine(QSourceLocation* theWrappedObject, qint64 newLine); | ||
florianlink
|
r120 | void setUri(QSourceLocation* theWrappedObject, const QUrl& newUri); | ||
florianlink
|
r128 | QUrl uri(QSourceLocation* theWrappedObject) const; | ||
florianlink
|
r117 | QString py_toString(QSourceLocation*); | ||
florianlink
|
r120 | bool __nonzero__(QSourceLocation* obj) { return !obj->isNull(); } | ||
florianlink
|
r99 | }; | ||
class PythonQtShell_QXmlFormatter : public QXmlFormatter | ||||
{ | ||||
public: | ||||
PythonQtShell_QXmlFormatter(const QXmlQuery& query, QIODevice* outputDevice):QXmlFormatter(query, outputDevice),_wrapper(NULL) {}; | ||||
florianlink
|
r186 | ~PythonQtShell_QXmlFormatter(); | ||
florianlink
|
r110 | virtual void atomicValue(const QVariant& value); | ||
florianlink
|
r120 | virtual void attribute(const QXmlName& name, const QStringRef& value); | ||
florianlink
|
r128 | virtual void characters(const QStringRef& value); | ||
virtual void comment(const QString& value); | ||||
florianlink
|
r99 | virtual void endDocument(); | ||
florianlink
|
r128 | virtual void endElement(); | ||
virtual void endOfSequence(); | ||||
florianlink
|
r99 | virtual void namespaceBinding(const QXmlName& nb); | ||
florianlink
|
r128 | virtual void processingInstruction(const QXmlName& name, const QString& value); | ||
virtual void startDocument(); | ||||
virtual void startElement(const QXmlName& name); | ||||
virtual void startOfSequence(); | ||||
florianlink
|
r99 | virtual void whitespaceOnly(const QStringRef& value); | ||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
class PythonQtPublicPromoter_QXmlFormatter : public QXmlFormatter | ||||
{ public: | ||||
florianlink
|
r110 | inline void promoted_atomicValue(const QVariant& value) { QXmlFormatter::atomicValue(value); } | ||
florianlink
|
r120 | inline void promoted_attribute(const QXmlName& name, const QStringRef& value) { QXmlFormatter::attribute(name, value); } | ||
florianlink
|
r128 | inline void promoted_characters(const QStringRef& value) { QXmlFormatter::characters(value); } | ||
inline void promoted_comment(const QString& value) { QXmlFormatter::comment(value); } | ||||
florianlink
|
r99 | inline void promoted_endDocument() { QXmlFormatter::endDocument(); } | ||
florianlink
|
r128 | inline void promoted_endElement() { QXmlFormatter::endElement(); } | ||
inline void promoted_endOfSequence() { QXmlFormatter::endOfSequence(); } | ||||
inline void promoted_processingInstruction(const QXmlName& name, const QString& value) { QXmlFormatter::processingInstruction(name, value); } | ||||
inline void promoted_startDocument() { QXmlFormatter::startDocument(); } | ||||
inline void promoted_startElement(const QXmlName& name) { QXmlFormatter::startElement(name); } | ||||
inline void promoted_startOfSequence() { QXmlFormatter::startOfSequence(); } | ||||
florianlink
|
r99 | }; | ||
class PythonQtWrapper_QXmlFormatter : public QObject | ||||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QXmlFormatter* new_QXmlFormatter(const QXmlQuery& query, QIODevice* outputDevice); | ||||
void delete_QXmlFormatter(QXmlFormatter* obj) { delete obj; } | ||||
florianlink
|
r110 | void atomicValue(QXmlFormatter* theWrappedObject, const QVariant& value); | ||
florianlink
|
r120 | void attribute(QXmlFormatter* theWrappedObject, const QXmlName& name, const QStringRef& value); | ||
florianlink
|
r128 | void characters(QXmlFormatter* theWrappedObject, const QStringRef& value); | ||
void comment(QXmlFormatter* theWrappedObject, const QString& value); | ||||
florianlink
|
r99 | void endDocument(QXmlFormatter* theWrappedObject); | ||
florianlink
|
r128 | void endElement(QXmlFormatter* theWrappedObject); | ||
void endOfSequence(QXmlFormatter* theWrappedObject); | ||||
int indentationDepth(QXmlFormatter* theWrappedObject) const; | ||||
void processingInstruction(QXmlFormatter* theWrappedObject, const QXmlName& name, const QString& value); | ||||
florianlink
|
r99 | void setIndentationDepth(QXmlFormatter* theWrappedObject, int depth); | ||
florianlink
|
r128 | void startDocument(QXmlFormatter* theWrappedObject); | ||
void startElement(QXmlFormatter* theWrappedObject, const QXmlName& name); | ||||
void startOfSequence(QXmlFormatter* theWrappedObject); | ||||
florianlink
|
r99 | }; | ||
class PythonQtWrapper_QXmlItem : public QObject | ||||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QXmlItem* new_QXmlItem(); | ||||
QXmlItem* new_QXmlItem(const QVariant& atomicValue); | ||||
QXmlItem* new_QXmlItem(const QXmlItem& other); | ||||
QXmlItem* new_QXmlItem(const QXmlNodeModelIndex& node); | ||||
void delete_QXmlItem(QXmlItem* obj) { delete obj; } | ||||
florianlink
|
r128 | bool isAtomicValue(QXmlItem* theWrappedObject) const; | ||
florianlink
|
r99 | bool isNode(QXmlItem* theWrappedObject) const; | ||
florianlink
|
r128 | bool isNull(QXmlItem* theWrappedObject) const; | ||
florianlink
|
r99 | QVariant toAtomicValue(QXmlItem* theWrappedObject) const; | ||
QXmlNodeModelIndex toNodeModelIndex(QXmlItem* theWrappedObject) const; | ||||
florianlink
|
r120 | bool __nonzero__(QXmlItem* obj) { return !obj->isNull(); } | ||
florianlink
|
r99 | }; | ||
class PythonQtWrapper_QXmlName : public QObject | ||||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QXmlName* new_QXmlName(); | ||||
QXmlName* new_QXmlName(QXmlNamePool& namePool, const QString& localName, const QString& namespaceURI = QString(), const QString& prefix = QString()); | ||||
QXmlName* new_QXmlName(const QXmlName& other) { | ||||
QXmlName* a = new QXmlName(); | ||||
*((QXmlName*)a) = other; | ||||
return a; } | ||||
void delete_QXmlName(QXmlName* obj) { delete obj; } | ||||
florianlink
|
r120 | QXmlName static_QXmlName_fromClarkName(const QString& clarkName, const QXmlNamePool& namePool); | ||
bool static_QXmlName_isNCName(const QString& candidate); | ||||
florianlink
|
r128 | bool isNull(QXmlName* theWrappedObject) const; | ||
QString localName(QXmlName* theWrappedObject, const QXmlNamePool& query) const; | ||||
florianlink
|
r120 | QString namespaceUri(QXmlName* theWrappedObject, const QXmlNamePool& query) const; | ||
florianlink
|
r128 | bool __ne__(QXmlName* theWrappedObject, const QXmlName& other) const; | ||
bool __eq__(QXmlName* theWrappedObject, const QXmlName& other) const; | ||||
QString prefix(QXmlName* theWrappedObject, const QXmlNamePool& query) const; | ||||
florianlink
|
r99 | QString toClarkName(QXmlName* theWrappedObject, const QXmlNamePool& query) const; | ||
florianlink
|
r120 | bool __nonzero__(QXmlName* obj) { return !obj->isNull(); } | ||
florianlink
|
r99 | }; | ||
class PythonQtWrapper_QXmlNamePool : public QObject | ||||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QXmlNamePool* new_QXmlNamePool(); | ||||
QXmlNamePool* new_QXmlNamePool(const QXmlNamePool& other); | ||||
void delete_QXmlNamePool(QXmlNamePool* obj) { delete obj; } | ||||
}; | ||||
class PythonQtWrapper_QXmlNodeModelIndex : public QObject | ||||
{ Q_OBJECT | ||||
public: | ||||
florianlink
|
r110 | Q_ENUMS(NodeKind DocumentOrder ) | ||
florianlink
|
r99 | enum NodeKind{ | ||
Attribute = QXmlNodeModelIndex::Attribute, Comment = QXmlNodeModelIndex::Comment, Document = QXmlNodeModelIndex::Document, Element = QXmlNodeModelIndex::Element, Namespace = QXmlNodeModelIndex::Namespace, ProcessingInstruction = QXmlNodeModelIndex::ProcessingInstruction, Text = QXmlNodeModelIndex::Text}; | ||||
enum DocumentOrder{ | ||||
Precedes = QXmlNodeModelIndex::Precedes, Is = QXmlNodeModelIndex::Is, Follows = QXmlNodeModelIndex::Follows}; | ||||
public slots: | ||||
QXmlNodeModelIndex* new_QXmlNodeModelIndex(); | ||||
QXmlNodeModelIndex* new_QXmlNodeModelIndex(const QXmlNodeModelIndex& other); | ||||
void delete_QXmlNodeModelIndex(QXmlNodeModelIndex* obj) { delete obj; } | ||||
florianlink
|
r128 | qint64 additionalData(QXmlNodeModelIndex* theWrappedObject) const; | ||
florianlink
|
r120 | qint64 data(QXmlNodeModelIndex* theWrappedObject) const; | ||
florianlink
|
r128 | bool isNull(QXmlNodeModelIndex* theWrappedObject) const; | ||
florianlink
|
r99 | const QAbstractXmlNodeModel* model(QXmlNodeModelIndex* theWrappedObject) const; | ||
florianlink
|
r128 | bool __ne__(QXmlNodeModelIndex* theWrappedObject, const QXmlNodeModelIndex& other) const; | ||
florianlink
|
r120 | bool __eq__(QXmlNodeModelIndex* theWrappedObject, const QXmlNodeModelIndex& other) const; | ||
bool __nonzero__(QXmlNodeModelIndex* obj) { return !obj->isNull(); } | ||||
florianlink
|
r99 | }; | ||
class PythonQtWrapper_QXmlQuery : public QObject | ||||
{ Q_OBJECT | ||||
public: | ||||
florianlink
|
r110 | Q_ENUMS(QueryLanguage ) | ||
enum QueryLanguage{ | ||||
XQuery10 = QXmlQuery::XQuery10, XSLT20 = QXmlQuery::XSLT20, XmlSchema11IdentityConstraintSelector = QXmlQuery::XmlSchema11IdentityConstraintSelector, XmlSchema11IdentityConstraintField = QXmlQuery::XmlSchema11IdentityConstraintField, XPath20 = QXmlQuery::XPath20}; | ||||
florianlink
|
r99 | public slots: | ||
QXmlQuery* new_QXmlQuery(); | ||||
florianlink
|
r110 | QXmlQuery* new_QXmlQuery(QXmlQuery::QueryLanguage queryLanguage, const QXmlNamePool& np = QXmlNamePool()); | ||
florianlink
|
r99 | QXmlQuery* new_QXmlQuery(const QXmlNamePool& np); | ||
QXmlQuery* new_QXmlQuery(const QXmlQuery& other); | ||||
void delete_QXmlQuery(QXmlQuery* obj) { delete obj; } | ||||
florianlink
|
r110 | void bindVariable(QXmlQuery* theWrappedObject, const QString& localName, QIODevice* arg__2); | ||
florianlink
|
r99 | void bindVariable(QXmlQuery* theWrappedObject, const QString& localName, const QXmlItem& value); | ||
florianlink
|
r128 | void bindVariable(QXmlQuery* theWrappedObject, const QString& localName, const QXmlQuery& query); | ||
void bindVariable(QXmlQuery* theWrappedObject, const QXmlName& name, QIODevice* arg__2); | ||||
florianlink
|
r99 | void bindVariable(QXmlQuery* theWrappedObject, const QXmlName& name, const QXmlItem& value); | ||
florianlink
|
r128 | void bindVariable(QXmlQuery* theWrappedObject, const QXmlName& name, const QXmlQuery& query); | ||
florianlink
|
r110 | bool evaluateTo(QXmlQuery* theWrappedObject, QIODevice* target) const; | ||
florianlink
|
r120 | bool evaluateTo(QXmlQuery* theWrappedObject, QString* output) const; | ||
void evaluateTo(QXmlQuery* theWrappedObject, QXmlResultItems* result) const; | ||||
florianlink
|
r128 | QXmlName initialTemplateName(QXmlQuery* theWrappedObject) const; | ||
bool isValid(QXmlQuery* theWrappedObject) const; | ||||
QAbstractMessageHandler* messageHandler(QXmlQuery* theWrappedObject) const; | ||||
QXmlNamePool namePool(QXmlQuery* theWrappedObject) const; | ||||
florianlink
|
r110 | QNetworkAccessManager* networkAccessManager(QXmlQuery* theWrappedObject) const; | ||
florianlink
|
r128 | QXmlQuery* operator_assign(QXmlQuery* theWrappedObject, const QXmlQuery& other); | ||
florianlink
|
r110 | QXmlQuery::QueryLanguage queryLanguage(QXmlQuery* theWrappedObject) const; | ||
florianlink
|
r128 | bool setFocus(QXmlQuery* theWrappedObject, QIODevice* document); | ||
florianlink
|
r120 | bool setFocus(QXmlQuery* theWrappedObject, const QString& focus); | ||
bool setFocus(QXmlQuery* theWrappedObject, const QUrl& documentURI); | ||||
void setFocus(QXmlQuery* theWrappedObject, const QXmlItem& item); | ||||
florianlink
|
r128 | void setInitialTemplateName(QXmlQuery* theWrappedObject, const QString& name); | ||
void setInitialTemplateName(QXmlQuery* theWrappedObject, const QXmlName& name); | ||||
void setMessageHandler(QXmlQuery* theWrappedObject, QAbstractMessageHandler* messageHandler); | ||||
florianlink
|
r110 | void setNetworkAccessManager(QXmlQuery* theWrappedObject, QNetworkAccessManager* newManager); | ||
florianlink
|
r128 | void setQuery(QXmlQuery* theWrappedObject, QIODevice* sourceCode, const QUrl& documentURI = QUrl()); | ||
void setQuery(QXmlQuery* theWrappedObject, const QString& sourceCode, const QUrl& documentURI = QUrl()); | ||||
void setQuery(QXmlQuery* theWrappedObject, const QUrl& queryURI, const QUrl& baseURI = QUrl()); | ||||
void setUriResolver(QXmlQuery* theWrappedObject, const QAbstractUriResolver* resolver); | ||||
const QAbstractUriResolver* uriResolver(QXmlQuery* theWrappedObject) const; | ||||
florianlink
|
r99 | }; | ||
class PythonQtShell_QXmlResultItems : public QXmlResultItems | ||||
{ | ||||
public: | ||||
PythonQtShell_QXmlResultItems():QXmlResultItems(),_wrapper(NULL) {}; | ||||
florianlink
|
r186 | ~PythonQtShell_QXmlResultItems(); | ||
florianlink
|
r99 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
class PythonQtWrapper_QXmlResultItems : public QObject | ||||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QXmlResultItems* new_QXmlResultItems(); | ||||
void delete_QXmlResultItems(QXmlResultItems* obj) { delete obj; } | ||||
florianlink
|
r110 | QXmlItem current(QXmlResultItems* theWrappedObject) const; | ||
florianlink
|
r128 | bool hasError(QXmlResultItems* theWrappedObject) const; | ||
QXmlItem next(QXmlResultItems* theWrappedObject); | ||||
florianlink
|
r110 | }; | ||
class PythonQtWrapper_QXmlSchema : public QObject | ||||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QXmlSchema* new_QXmlSchema(); | ||||
QXmlSchema* new_QXmlSchema(const QXmlSchema& other); | ||||
void delete_QXmlSchema(QXmlSchema* obj) { delete obj; } | ||||
florianlink
|
r128 | QUrl documentUri(QXmlSchema* theWrappedObject) const; | ||
bool isValid(QXmlSchema* theWrappedObject) const; | ||||
florianlink
|
r110 | bool load(QXmlSchema* theWrappedObject, QIODevice* source, const QUrl& documentUri = QUrl()); | ||
florianlink
|
r120 | bool load(QXmlSchema* theWrappedObject, const QByteArray& data, const QUrl& documentUri = QUrl()); | ||
florianlink
|
r110 | bool load(QXmlSchema* theWrappedObject, const QUrl& source); | ||
florianlink
|
r120 | QAbstractMessageHandler* messageHandler(QXmlSchema* theWrappedObject) const; | ||
florianlink
|
r128 | QXmlNamePool namePool(QXmlSchema* theWrappedObject) const; | ||
QNetworkAccessManager* networkAccessManager(QXmlSchema* theWrappedObject) const; | ||||
void setMessageHandler(QXmlSchema* theWrappedObject, QAbstractMessageHandler* handler); | ||||
florianlink
|
r110 | void setNetworkAccessManager(QXmlSchema* theWrappedObject, QNetworkAccessManager* networkmanager); | ||
florianlink
|
r120 | void setUriResolver(QXmlSchema* theWrappedObject, const QAbstractUriResolver* resolver); | ||
florianlink
|
r128 | const QAbstractUriResolver* uriResolver(QXmlSchema* theWrappedObject) const; | ||
florianlink
|
r110 | }; | ||
class PythonQtWrapper_QXmlSchemaValidator : public QObject | ||||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QXmlSchemaValidator* new_QXmlSchemaValidator(); | ||||
QXmlSchemaValidator* new_QXmlSchemaValidator(const QXmlSchema& schema); | ||||
void delete_QXmlSchemaValidator(QXmlSchemaValidator* obj) { delete obj; } | ||||
florianlink
|
r128 | QAbstractMessageHandler* messageHandler(QXmlSchemaValidator* theWrappedObject) const; | ||
florianlink
|
r110 | QXmlNamePool namePool(QXmlSchemaValidator* theWrappedObject) const; | ||
QNetworkAccessManager* networkAccessManager(QXmlSchemaValidator* theWrappedObject) const; | ||||
florianlink
|
r128 | QXmlSchema schema(QXmlSchemaValidator* theWrappedObject) const; | ||
void setMessageHandler(QXmlSchemaValidator* theWrappedObject, QAbstractMessageHandler* handler); | ||||
florianlink
|
r110 | void setNetworkAccessManager(QXmlSchemaValidator* theWrappedObject, QNetworkAccessManager* networkmanager); | ||
florianlink
|
r128 | void setSchema(QXmlSchemaValidator* theWrappedObject, const QXmlSchema& schema); | ||
florianlink
|
r110 | void setUriResolver(QXmlSchemaValidator* theWrappedObject, const QAbstractUriResolver* resolver); | ||
florianlink
|
r128 | const QAbstractUriResolver* uriResolver(QXmlSchemaValidator* theWrappedObject) const; | ||
bool validate(QXmlSchemaValidator* theWrappedObject, QIODevice* source, const QUrl& documentUri = QUrl()) const; | ||||
bool validate(QXmlSchemaValidator* theWrappedObject, const QByteArray& data, const QUrl& documentUri = QUrl()) const; | ||||
bool validate(QXmlSchemaValidator* theWrappedObject, const QUrl& source) const; | ||||
florianlink
|
r99 | }; | ||
class PythonQtShell_QXmlSerializer : public QXmlSerializer | ||||
{ | ||||
public: | ||||
PythonQtShell_QXmlSerializer(const QXmlQuery& query, QIODevice* outputDevice):QXmlSerializer(query, outputDevice),_wrapper(NULL) {}; | ||||
florianlink
|
r186 | ~PythonQtShell_QXmlSerializer(); | ||
florianlink
|
r110 | virtual void atomicValue(const QVariant& value); | ||
virtual void attribute(const QXmlName& name, const QStringRef& value); | ||||
florianlink
|
r128 | virtual void characters(const QStringRef& value); | ||
virtual void comment(const QString& value); | ||||
florianlink
|
r99 | virtual void endDocument(); | ||
florianlink
|
r128 | virtual void endElement(); | ||
virtual void endOfSequence(); | ||||
virtual void namespaceBinding(const QXmlName& nb); | ||||
virtual void processingInstruction(const QXmlName& name, const QString& value); | ||||
virtual void startDocument(); | ||||
virtual void startElement(const QXmlName& name); | ||||
virtual void startOfSequence(); | ||||
florianlink
|
r99 | virtual void whitespaceOnly(const QStringRef& value); | ||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
class PythonQtPublicPromoter_QXmlSerializer : public QXmlSerializer | ||||
{ public: | ||||
florianlink
|
r110 | inline void promoted_atomicValue(const QVariant& value) { QXmlSerializer::atomicValue(value); } | ||
inline void promoted_attribute(const QXmlName& name, const QStringRef& value) { QXmlSerializer::attribute(name, value); } | ||||
florianlink
|
r128 | inline void promoted_characters(const QStringRef& value) { QXmlSerializer::characters(value); } | ||
inline void promoted_comment(const QString& value) { QXmlSerializer::comment(value); } | ||||
florianlink
|
r99 | inline void promoted_endDocument() { QXmlSerializer::endDocument(); } | ||
florianlink
|
r128 | inline void promoted_endElement() { QXmlSerializer::endElement(); } | ||
inline void promoted_endOfSequence() { QXmlSerializer::endOfSequence(); } | ||||
inline void promoted_namespaceBinding(const QXmlName& nb) { QXmlSerializer::namespaceBinding(nb); } | ||||
inline void promoted_processingInstruction(const QXmlName& name, const QString& value) { QXmlSerializer::processingInstruction(name, value); } | ||||
inline void promoted_startDocument() { QXmlSerializer::startDocument(); } | ||||
inline void promoted_startElement(const QXmlName& name) { QXmlSerializer::startElement(name); } | ||||
inline void promoted_startOfSequence() { QXmlSerializer::startOfSequence(); } | ||||
florianlink
|
r99 | }; | ||
class PythonQtWrapper_QXmlSerializer : public QObject | ||||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QXmlSerializer* new_QXmlSerializer(const QXmlQuery& query, QIODevice* outputDevice); | ||||
void delete_QXmlSerializer(QXmlSerializer* obj) { delete obj; } | ||||
florianlink
|
r128 | void atomicValue(QXmlSerializer* theWrappedObject, const QVariant& value); | ||
void attribute(QXmlSerializer* theWrappedObject, const QXmlName& name, const QStringRef& value); | ||||
void characters(QXmlSerializer* theWrappedObject, const QStringRef& value); | ||||
florianlink
|
r120 | const QTextCodec* codec(QXmlSerializer* theWrappedObject) const; | ||
florianlink
|
r99 | void comment(QXmlSerializer* theWrappedObject, const QString& value); | ||
florianlink
|
r128 | void endDocument(QXmlSerializer* theWrappedObject); | ||
void endElement(QXmlSerializer* theWrappedObject); | ||||
void endOfSequence(QXmlSerializer* theWrappedObject); | ||||
florianlink
|
r99 | void namespaceBinding(QXmlSerializer* theWrappedObject, const QXmlName& nb); | ||
florianlink
|
r128 | QIODevice* outputDevice(QXmlSerializer* theWrappedObject) const; | ||
florianlink
|
r99 | void processingInstruction(QXmlSerializer* theWrappedObject, const QXmlName& name, const QString& value); | ||
florianlink
|
r120 | void setCodec(QXmlSerializer* theWrappedObject, const QTextCodec* codec); | ||
florianlink
|
r128 | void startDocument(QXmlSerializer* theWrappedObject); | ||
void startElement(QXmlSerializer* theWrappedObject, const QXmlName& name); | ||||
void startOfSequence(QXmlSerializer* theWrappedObject); | ||||
florianlink
|
r99 | }; | ||