##// END OF EJS Templates
- wrapped instances are now wrapped by class specific subtypes to facilitate future deriving from python...
- wrapped instances are now wrapped by class specific subtypes to facilitate future deriving from python - object creation has changed by using the python type system (calling the type object with PyObject_Call) git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@54 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r13:d46b01f7163a
r18:44e5ff2700cb
Show More
PythonQtWrapper_QDomElement.cpp
144 lines | 4.8 KiB | text/x-c | CppLexer
#include "PythonQtWrapper_QDomElement.h"
#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); }
QString PythonQtWrapper_QDomElement::attribute(QDomElement* theWrappedObject, const QString& name, const QString& defValue) const
{
return theWrappedObject->attribute(name, defValue);
}
QString PythonQtWrapper_QDomElement::attributeNS(QDomElement* theWrappedObject, const QString nsURI, const QString& localName, const QString& defValue) const
{
return theWrappedObject->attributeNS(nsURI, localName, defValue);
}
QDomAttr PythonQtWrapper_QDomElement::attributeNode(QDomElement* theWrappedObject, const QString& name)
{
return theWrappedObject->attributeNode(name);
}
QDomAttr PythonQtWrapper_QDomElement::attributeNodeNS(QDomElement* theWrappedObject, const QString& nsURI, const QString& localName)
{
return theWrappedObject->attributeNodeNS(nsURI, localName);
}
QDomNamedNodeMap PythonQtWrapper_QDomElement::attributes(QDomElement* theWrappedObject) const
{
return theWrappedObject->attributes();
}
QDomNodeList PythonQtWrapper_QDomElement::elementsByTagName(QDomElement* theWrappedObject, const QString& tagname) const
{
return theWrappedObject->elementsByTagName(tagname);
}
QDomNodeList PythonQtWrapper_QDomElement::elementsByTagNameNS(QDomElement* theWrappedObject, const QString& nsURI, const QString& localName) const
{
return theWrappedObject->elementsByTagNameNS(nsURI, localName);
}
bool PythonQtWrapper_QDomElement::hasAttribute(QDomElement* theWrappedObject, const QString& name) const
{
return theWrappedObject->hasAttribute(name);
}
bool PythonQtWrapper_QDomElement::hasAttributeNS(QDomElement* theWrappedObject, const QString& nsURI, const QString& localName) const
{
return theWrappedObject->hasAttributeNS(nsURI, localName);
}
void PythonQtWrapper_QDomElement::removeAttribute(QDomElement* theWrappedObject, const QString& name)
{
theWrappedObject->removeAttribute(name);
}
void PythonQtWrapper_QDomElement::removeAttributeNS(QDomElement* theWrappedObject, const QString& nsURI, const QString& localName)
{
theWrappedObject->removeAttributeNS(nsURI, localName);
}
QDomAttr PythonQtWrapper_QDomElement::removeAttributeNode(QDomElement* theWrappedObject, const QDomAttr& oldAttr)
{
return theWrappedObject->removeAttributeNode(oldAttr);
}
void PythonQtWrapper_QDomElement::setAttribute(QDomElement* theWrappedObject, const QString& name, const QString& value)
{
theWrappedObject->setAttribute(name, value);
}
void PythonQtWrapper_QDomElement::setAttribute(QDomElement* theWrappedObject, const QString& name, double value)
{
theWrappedObject->setAttribute(name, value);
}
void PythonQtWrapper_QDomElement::setAttribute(QDomElement* theWrappedObject, const QString& name, float value)
{
theWrappedObject->setAttribute(name, value);
}
void PythonQtWrapper_QDomElement::setAttribute(QDomElement* theWrappedObject, const QString& name, int value)
{
theWrappedObject->setAttribute(name, value);
}
void PythonQtWrapper_QDomElement::setAttribute(QDomElement* theWrappedObject, const QString& name, qlonglong value)
{
theWrappedObject->setAttribute(name, value);
}
void PythonQtWrapper_QDomElement::setAttributeNS(QDomElement* theWrappedObject, const QString nsURI, const QString& qName, const QString& value)
{
theWrappedObject->setAttributeNS(nsURI, qName, value);
}
void PythonQtWrapper_QDomElement::setAttributeNS(QDomElement* theWrappedObject, const QString nsURI, const QString& qName, double value)
{
theWrappedObject->setAttributeNS(nsURI, qName, value);
}
void PythonQtWrapper_QDomElement::setAttributeNS(QDomElement* theWrappedObject, const QString nsURI, const QString& qName, int value)
{
theWrappedObject->setAttributeNS(nsURI, qName, value);
}
void PythonQtWrapper_QDomElement::setAttributeNS(QDomElement* theWrappedObject, const QString nsURI, const QString& qName, qlonglong value)
{
theWrappedObject->setAttributeNS(nsURI, qName, value);
}
QDomAttr PythonQtWrapper_QDomElement::setAttributeNode(QDomElement* theWrappedObject, const QDomAttr& newAttr)
{
return theWrappedObject->setAttributeNode(newAttr);
}
QDomAttr PythonQtWrapper_QDomElement::setAttributeNodeNS(QDomElement* theWrappedObject, const QDomAttr& newAttr)
{
return theWrappedObject->setAttributeNodeNS(newAttr);
}
void PythonQtWrapper_QDomElement::setTagName(QDomElement* theWrappedObject, const QString& name)
{
theWrappedObject->setTagName(name);
}
QString PythonQtWrapper_QDomElement::tagName(QDomElement* theWrappedObject) const
{
return theWrappedObject->tagName();
}
QString PythonQtWrapper_QDomElement::text(QDomElement* theWrappedObject) const
{
return theWrappedObject->text();
}