PythonQtWrapper_QXmlQuery.cpp
114 lines
| 3.5 KiB
| text/x-c
|
CppLexer
florianlink
|
r13 | #include "PythonQtWrapper_QXmlQuery.h" | ||
florianlink
|
r24 | #include <PythonQtSignalReceiver.h> | ||
#include <PythonQtMethodInfo.h> | ||||
#include <PythonQtConversion.h> | ||||
florianlink
|
r13 | #include <QVariant> | ||
#include <qabstractmessagehandler.h> | ||||
#include <qabstracturiresolver.h> | ||||
#include <qabstractxmlnodemodel.h> | ||||
#include <qabstractxmlreceiver.h> | ||||
#include <qiodevice.h> | ||||
#include <qurl.h> | ||||
#include <qxmlname.h> | ||||
#include <qxmlnamepool.h> | ||||
#include <qxmlquery.h> | ||||
#include <qxmlresultitems.h> | ||||
QXmlQuery* PythonQtWrapper_QXmlQuery::new_QXmlQuery() | ||||
{ | ||||
return new QXmlQuery(); } | ||||
QXmlQuery* PythonQtWrapper_QXmlQuery::new_QXmlQuery(const QXmlNamePool& np) | ||||
{ | ||||
return new QXmlQuery(np); } | ||||
QXmlQuery* PythonQtWrapper_QXmlQuery::new_QXmlQuery(const QXmlQuery& other) | ||||
{ | ||||
return new QXmlQuery(other); } | ||||
florianlink
|
r73 | void PythonQtWrapper_QXmlQuery::setQuery(QXmlQuery* theWrappedObject, const QUrl& queryURI, const QUrl& baseURI) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->setQuery(queryURI, baseURI)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QXmlQuery::setMessageHandler(QXmlQuery* theWrappedObject, QAbstractMessageHandler* messageHandler) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->setMessageHandler(messageHandler)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QXmlQuery::setQuery(QXmlQuery* theWrappedObject, QIODevice* sourceCode, const QUrl& documentURI) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->setQuery(sourceCode, documentURI)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QXmlQuery::setQuery(QXmlQuery* theWrappedObject, const QString& sourceCode, const QUrl& documentURI) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->setQuery(sourceCode, documentURI)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | QAbstractMessageHandler* PythonQtWrapper_QXmlQuery::messageHandler(QXmlQuery* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->messageHandler()); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QXmlQuery::bindVariable(QXmlQuery* theWrappedObject, const QXmlName& name, QIODevice* arg__2) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->bindVariable(name, arg__2)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QXmlQuery::bindVariable(QXmlQuery* theWrappedObject, const QXmlName& name, const QXmlItem& value) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->bindVariable(name, value)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | QXmlQuery* PythonQtWrapper_QXmlQuery::operator_assign(QXmlQuery* theWrappedObject, const QXmlQuery& other) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return &( (*theWrappedObject)= other); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | const QAbstractUriResolver* PythonQtWrapper_QXmlQuery::uriResolver(QXmlQuery* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->uriResolver()); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | bool PythonQtWrapper_QXmlQuery::evaluateTo(QXmlQuery* theWrappedObject, QAbstractXmlReceiver* callback) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->evaluateTo(callback)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | QXmlNamePool PythonQtWrapper_QXmlQuery::namePool(QXmlQuery* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->namePool()); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QXmlQuery::bindVariable(QXmlQuery* theWrappedObject, const QString& localName, QIODevice* arg__2) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->bindVariable(localName, arg__2)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QXmlQuery::bindVariable(QXmlQuery* theWrappedObject, const QString& localName, const QXmlItem& value) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->bindVariable(localName, value)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QXmlQuery::setFocus(QXmlQuery* theWrappedObject, const QXmlItem& item) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->setFocus(item)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QXmlQuery::evaluateTo(QXmlQuery* theWrappedObject, QXmlResultItems* result) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->evaluateTo(result)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | bool PythonQtWrapper_QXmlQuery::isValid(QXmlQuery* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->isValid()); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QXmlQuery::setUriResolver(QXmlQuery* theWrappedObject, const QAbstractUriResolver* resolver) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->setUriResolver(resolver)); | ||
florianlink
|
r13 | } | ||