##// END OF EJS Templates
added builtin support for variants etc., this will replace the direct includes in PythonQt...
added builtin support for variants etc., this will replace the direct includes in PythonQt git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@129 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r73:40dc86970256
r93:7b53f64eae84
Show More
PythonQtWrapper_QXmlItem.cpp
49 lines | 1.2 KiB | text/x-c | CppLexer
#include "PythonQtWrapper_QXmlItem.h"
#include <PythonQtSignalReceiver.h>
#include <PythonQtMethodInfo.h>
#include <PythonQtConversion.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::isNode(QXmlItem* theWrappedObject) const
{
return ( theWrappedObject->isNode());
}
bool PythonQtWrapper_QXmlItem::isNull(QXmlItem* theWrappedObject) const
{
return ( theWrappedObject->isNull());
}
QXmlNodeModelIndex PythonQtWrapper_QXmlItem::toNodeModelIndex(QXmlItem* theWrappedObject) const
{
return ( theWrappedObject->toNodeModelIndex());
}
bool PythonQtWrapper_QXmlItem::isAtomicValue(QXmlItem* theWrappedObject) const
{
return ( theWrappedObject->isAtomicValue());
}
QVariant PythonQtWrapper_QXmlItem::toAtomicValue(QXmlItem* theWrappedObject) const
{
return ( theWrappedObject->toAtomicValue());
}