##// END OF EJS Templates
code cleanup and rename of PythonQtWrapper to PythonQtInstanceWrapper and PythonQtMetaObjectWrapper to PythonQtClassWrapper, since these names match much better what these classes wrap, regarding that we are wrapping CPP objects as well...
code cleanup and rename of PythonQtWrapper to PythonQtInstanceWrapper and PythonQtMetaObjectWrapper to PythonQtClassWrapper, since these names match much better what these classes wrap, regarding that we are wrapping CPP objects as well git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@52 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r13:d46b01f7163a
r16:c68e0aff542c
Show More
PythonQtWrapper_QXmlItem.cpp
46 lines | 1.1 KiB | text/x-c | CppLexer
#include "PythonQtWrapper_QXmlItem.h"
#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::isAtomicValue(QXmlItem* theWrappedObject) const
{
return theWrappedObject->isAtomicValue();
}
bool PythonQtWrapper_QXmlItem::isNode(QXmlItem* theWrappedObject) const
{
return theWrappedObject->isNode();
}
bool PythonQtWrapper_QXmlItem::isNull(QXmlItem* theWrappedObject) const
{
return theWrappedObject->isNull();
}
QVariant PythonQtWrapper_QXmlItem::toAtomicValue(QXmlItem* theWrappedObject) const
{
return theWrappedObject->toAtomicValue();
}
QXmlNodeModelIndex PythonQtWrapper_QXmlItem::toNodeModelIndex(QXmlItem* theWrappedObject) const
{
return theWrappedObject->toNodeModelIndex();
}