PythonQtWrapper_QDomElement.cpp
147 lines
| 5.0 KiB
| text/x-c
|
CppLexer
florianlink
|
r13 | #include "PythonQtWrapper_QDomElement.h" | ||
florianlink
|
r24 | #include <PythonQtSignalReceiver.h> | ||
#include <PythonQtMethodInfo.h> | ||||
#include <PythonQtConversion.h> | ||||
florianlink
|
r13 | #include <QVariant> | ||
#include <qdom.h> | ||||
#include <qtextstream.h> | ||||
QDomElement* PythonQtWrapper_QDomElement::new_QDomElement() | ||||
{ | ||||
return new QDomElement(); } | ||||
QDomElement* PythonQtWrapper_QDomElement::new_QDomElement(const QDomElement& x) | ||||
{ | ||||
return new QDomElement(x); } | ||||
florianlink
|
r28 | void PythonQtWrapper_QDomElement::removeAttribute(QDomElement* theWrappedObject, const QString& name) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->removeAttribute(name)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | QString PythonQtWrapper_QDomElement::tagName(QDomElement* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->tagName()); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | void PythonQtWrapper_QDomElement::setAttribute(QDomElement* theWrappedObject, const QString& name, qlonglong value) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->setAttribute(name, value)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | void PythonQtWrapper_QDomElement::setAttributeNS(QDomElement* theWrappedObject, const QString nsURI, const QString& qName, const QString& value) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->setAttributeNS(nsURI, qName, value)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | QDomAttr PythonQtWrapper_QDomElement::attributeNodeNS(QDomElement* theWrappedObject, const QString& nsURI, const QString& localName) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->attributeNodeNS(nsURI, localName)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | QString PythonQtWrapper_QDomElement::attributeNS(QDomElement* theWrappedObject, const QString nsURI, const QString& localName, const QString& defValue) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->attributeNS(nsURI, localName, defValue)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | void PythonQtWrapper_QDomElement::setAttribute(QDomElement* theWrappedObject, const QString& name, const QString& value) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->setAttribute(name, value)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | void PythonQtWrapper_QDomElement::setAttributeNS(QDomElement* theWrappedObject, const QString nsURI, const QString& qName, int value) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->setAttributeNS(nsURI, qName, value)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | QDomAttr PythonQtWrapper_QDomElement::attributeNode(QDomElement* theWrappedObject, const QString& name) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->attributeNode(name)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | bool PythonQtWrapper_QDomElement::hasAttributeNS(QDomElement* theWrappedObject, const QString& nsURI, const QString& localName) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->hasAttributeNS(nsURI, localName)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | void PythonQtWrapper_QDomElement::setAttribute(QDomElement* theWrappedObject, const QString& name, float value) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->setAttribute(name, value)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | QString PythonQtWrapper_QDomElement::text(QDomElement* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->text()); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | void PythonQtWrapper_QDomElement::removeAttributeNS(QDomElement* theWrappedObject, const QString& nsURI, const QString& localName) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->removeAttributeNS(nsURI, localName)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | QDomAttr PythonQtWrapper_QDomElement::removeAttributeNode(QDomElement* theWrappedObject, const QDomAttr& oldAttr) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->removeAttributeNode(oldAttr)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | void PythonQtWrapper_QDomElement::setAttribute(QDomElement* theWrappedObject, const QString& name, double value) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->setAttribute(name, value)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | QDomNamedNodeMap PythonQtWrapper_QDomElement::attributes(QDomElement* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->attributes()); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | void PythonQtWrapper_QDomElement::setAttributeNS(QDomElement* theWrappedObject, const QString nsURI, const QString& qName, qlonglong value) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->setAttributeNS(nsURI, qName, value)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | void PythonQtWrapper_QDomElement::setTagName(QDomElement* theWrappedObject, const QString& name) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->setTagName(name)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | QDomNodeList PythonQtWrapper_QDomElement::elementsByTagName(QDomElement* theWrappedObject, const QString& tagname) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->elementsByTagName(tagname)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | void PythonQtWrapper_QDomElement::setAttribute(QDomElement* theWrappedObject, const QString& name, int value) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->setAttribute(name, value)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | bool PythonQtWrapper_QDomElement::hasAttribute(QDomElement* theWrappedObject, const QString& name) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->hasAttribute(name)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | QString PythonQtWrapper_QDomElement::attribute(QDomElement* theWrappedObject, const QString& name, const QString& defValue) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->attribute(name, defValue)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | QDomNodeList PythonQtWrapper_QDomElement::elementsByTagNameNS(QDomElement* theWrappedObject, const QString& nsURI, const QString& localName) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->elementsByTagNameNS(nsURI, localName)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r24 | QDomAttr PythonQtWrapper_QDomElement::setAttributeNode(QDomElement* theWrappedObject, const QDomAttr& newAttr) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->setAttributeNode(newAttr)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | QDomAttr PythonQtWrapper_QDomElement::setAttributeNodeNS(QDomElement* theWrappedObject, const QDomAttr& newAttr) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->setAttributeNodeNS(newAttr)); | ||
} | ||||
void PythonQtWrapper_QDomElement::setAttributeNS(QDomElement* theWrappedObject, const QString nsURI, const QString& qName, double value) | ||||
{ | ||||
( theWrappedObject->setAttributeNS(nsURI, qName, value)); | ||||
florianlink
|
r13 | } | ||