PythonQtWrapper_QXmlItem.cpp
49 lines
| 1.2 KiB
| text/x-c
|
CppLexer
florianlink
|
r13 | #include "PythonQtWrapper_QXmlItem.h" | ||
florianlink
|
r24 | #include <PythonQtSignalReceiver.h> | ||
#include <PythonQtMethodInfo.h> | ||||
#include <PythonQtConversion.h> | ||||
florianlink
|
r13 | #include <QVariant> | ||
#include <qabstractxmlnodemodel.h> | ||||
QXmlItem* PythonQtWrapper_QXmlItem::new_QXmlItem() | ||||
{ | ||||
return new QXmlItem(); } | ||||
QXmlItem* PythonQtWrapper_QXmlItem::new_QXmlItem(const QVariant& atomicValue) | ||||
{ | ||||
return new QXmlItem(atomicValue); } | ||||
QXmlItem* PythonQtWrapper_QXmlItem::new_QXmlItem(const QXmlItem& other) | ||||
{ | ||||
return new QXmlItem(other); } | ||||
QXmlItem* PythonQtWrapper_QXmlItem::new_QXmlItem(const QXmlNodeModelIndex& node) | ||||
{ | ||||
return new QXmlItem(node); } | ||||
bool PythonQtWrapper_QXmlItem::isNode(QXmlItem* theWrappedObject) const | ||||
{ | ||||
florianlink
|
r73 | return ( theWrappedObject->isNode()); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | bool PythonQtWrapper_QXmlItem::isNull(QXmlItem* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->isNull()); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | QXmlNodeModelIndex PythonQtWrapper_QXmlItem::toNodeModelIndex(QXmlItem* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->toNodeModelIndex()); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | bool PythonQtWrapper_QXmlItem::isAtomicValue(QXmlItem* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->isAtomicValue()); | ||
florianlink
|
r24 | } | ||
florianlink
|
r73 | QVariant PythonQtWrapper_QXmlItem::toAtomicValue(QXmlItem* theWrappedObject) const | ||
florianlink
|
r24 | { | ||
florianlink
|
r73 | return ( theWrappedObject->toAtomicValue()); | ||
florianlink
|
r13 | } | ||