PythonQtWrapper_QTreeWidgetItem.cpp
456 lines
| 15.4 KiB
| text/x-c
|
CppLexer
|
r13 | #include "PythonQtWrapper_QTreeWidgetItem.h" | ||
|
r24 | #include <PythonQtSignalReceiver.h> | ||
#include <PythonQtMethodInfo.h> | ||||
#include <PythonQtConversion.h> | ||||
|
r13 | #include <QVariant> | ||
#include <qbrush.h> | ||||
#include <qdatastream.h> | ||||
#include <qfont.h> | ||||
#include <qicon.h> | ||||
#include <qlist.h> | ||||
#include <qsize.h> | ||||
#include <qstringlist.h> | ||||
#include <qtreewidget.h> | ||||
|
r24 | QTreeWidgetItem* PythonQtShell_QTreeWidgetItem::clone() const | ||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "clone"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QTreeWidgetItem::staticMetaObject, | ||||
"clone(QTreeWidgetItem*)"); | ||||
QTreeWidgetItem* returnValue; | ||||
void* args[1] = {NULL}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
returnValue = *((QTreeWidgetItem* *)args[0]); | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
return QTreeWidgetItem::clone(); | ||||
} | ||||
QVariant PythonQtShell_QTreeWidgetItem::data(int column, int role) const | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "data"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QTreeWidgetItem::staticMetaObject, | ||||
"data(QTreeWidgetItem*,int ,int )"); | ||||
QVariant returnValue; | ||||
void* args[3] = {NULL, (void*)&column, (void*)&role}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
returnValue = *((QVariant *)args[0]); | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
return QTreeWidgetItem::data(column, role); | ||||
} | ||||
bool PythonQtShell_QTreeWidgetItem::operator_less(const QTreeWidgetItem& other) const | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "operator_less"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QTreeWidgetItem::staticMetaObject, | ||||
"operator_less(QTreeWidgetItem*,const QTreeWidgetItem& )"); | ||||
bool returnValue; | ||||
void* args[2] = {NULL, (void*)&other}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
returnValue = *((bool *)args[0]); | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
return QTreeWidgetItem::operator<(other); | ||||
} | ||||
void PythonQtShell_QTreeWidgetItem::read(QDataStream& in) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "read"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QTreeWidgetItem::staticMetaObject, | ||||
"read(QTreeWidgetItem*,QDataStream& )"); | ||||
void* args[2] = {NULL, (void*)&in}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
QTreeWidgetItem::read(in); | ||||
} | ||||
void PythonQtShell_QTreeWidgetItem::setData(int column, int role, const QVariant& value) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setData"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QTreeWidgetItem::staticMetaObject, | ||||
"setData(QTreeWidgetItem*,int ,int ,const QVariant& )"); | ||||
void* args[4] = {NULL, (void*)&column, (void*)&role, (void*)&value}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
QTreeWidgetItem::setData(column, role, value); | ||||
} | ||||
void PythonQtShell_QTreeWidgetItem::write(QDataStream& out) const | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "write"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QTreeWidgetItem::staticMetaObject, | ||||
"write(QTreeWidgetItem*,QDataStream& )"); | ||||
void* args[2] = {NULL, (void*)&out}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
QTreeWidgetItem::write(out); | ||||
} | ||||
|
r13 | QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(QTreeWidget* view, QTreeWidgetItem* after, int type) | ||
{ | ||||
|
r24 | return new PythonQtShell_QTreeWidgetItem(view, after, type); } | ||
|
r13 | |||
QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(QTreeWidget* view, const QStringList& strings, int type) | ||||
{ | ||||
|
r24 | return new PythonQtShell_QTreeWidgetItem(view, strings, type); } | ||
|
r13 | |||
QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(QTreeWidget* view, int type) | ||||
{ | ||||
|
r24 | return new PythonQtShell_QTreeWidgetItem(view, type); } | ||
|
r13 | |||
QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(QTreeWidgetItem* parent, QTreeWidgetItem* after, int type) | ||||
{ | ||||
|
r24 | return new PythonQtShell_QTreeWidgetItem(parent, after, type); } | ||
|
r13 | |||
QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(QTreeWidgetItem* parent, const QStringList& strings, int type) | ||||
{ | ||||
|
r24 | return new PythonQtShell_QTreeWidgetItem(parent, strings, type); } | ||
|
r13 | |||
QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(QTreeWidgetItem* parent, int type) | ||||
{ | ||||
|
r24 | return new PythonQtShell_QTreeWidgetItem(parent, type); } | ||
|
r13 | |||
QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(const QStringList& strings, int type) | ||||
{ | ||||
|
r24 | return new PythonQtShell_QTreeWidgetItem(strings, type); } | ||
|
r13 | |||
QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(int type) | ||||
{ | ||||
|
r24 | return new PythonQtShell_QTreeWidgetItem(type); } | ||
|
r13 | |||
|
r28 | void PythonQtWrapper_QTreeWidgetItem::setForeground(QTreeWidgetItem* theWrappedObject, int column, const QBrush& brush) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setForeground(column, brush); | ||
|
r13 | } | ||
|
r28 | QString PythonQtWrapper_QTreeWidgetItem::statusTip(QTreeWidgetItem* theWrappedObject, int column) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->statusTip(column); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTreeWidgetItem::setWhatsThis(QTreeWidgetItem* theWrappedObject, int column, const QString& whatsThis) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setWhatsThis(column, whatsThis); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTreeWidgetItem::insertChildren(QTreeWidgetItem* theWrappedObject, int index, const QList<QTreeWidgetItem* >& children) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->insertChildren(index, children); | ||
|
r13 | } | ||
|
r28 | QTreeWidget* PythonQtWrapper_QTreeWidgetItem::treeWidget(QTreeWidgetItem* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->treeWidget(); | ||
|
r13 | } | ||
|
r28 | bool PythonQtWrapper_QTreeWidgetItem::isSelected(QTreeWidgetItem* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->isSelected(); | ||
|
r13 | } | ||
|
r28 | int PythonQtWrapper_QTreeWidgetItem::type(QTreeWidgetItem* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->type(); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTreeWidgetItem::setHidden(QTreeWidgetItem* theWrappedObject, bool hide) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setHidden(hide); | ||
|
r13 | } | ||
|
r28 | QBrush PythonQtWrapper_QTreeWidgetItem::background(QTreeWidgetItem* theWrappedObject, int column) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->background(column); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTreeWidgetItem::setData(QTreeWidgetItem* theWrappedObject, int column, int role, const QVariant& value) | ||
|
r13 | { | ||
|
r28 | ((PythonQtPublicPromoter_QTreeWidgetItem*)theWrappedObject)->promoted_setData(column, role, value); | ||
|
r13 | } | ||
|
r28 | Qt::CheckState PythonQtWrapper_QTreeWidgetItem::checkState(QTreeWidgetItem* theWrappedObject, int column) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->checkState(column); | ||
|
r13 | } | ||
|
r24 | QString PythonQtWrapper_QTreeWidgetItem::text(QTreeWidgetItem* theWrappedObject, int column) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->text(column); | ||
|
r13 | } | ||
|
r28 | int PythonQtWrapper_QTreeWidgetItem::columnCount(QTreeWidgetItem* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->columnCount(); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTreeWidgetItem::insertChild(QTreeWidgetItem* theWrappedObject, int index, QTreeWidgetItem* child) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->insertChild(index, child); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTreeWidgetItem::removeChild(QTreeWidgetItem* theWrappedObject, QTreeWidgetItem* child) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->removeChild(child); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTreeWidgetItem::setSelected(QTreeWidgetItem* theWrappedObject, bool select) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setSelected(select); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTreeWidgetItem::writeTo(QTreeWidgetItem* theWrappedObject, QDataStream& out) | ||
|
r13 | { | ||
|
r28 | out << (*theWrappedObject); | ||
|
r13 | } | ||
|
r28 | QBrush PythonQtWrapper_QTreeWidgetItem::foreground(QTreeWidgetItem* theWrappedObject, int column) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->foreground(column); | ||
|
r13 | } | ||
|
r28 | bool PythonQtWrapper_QTreeWidgetItem::isDisabled(QTreeWidgetItem* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->isDisabled(); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTreeWidgetItem::setFont(QTreeWidgetItem* theWrappedObject, int column, const QFont& font) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setFont(column, font); | ||
|
r13 | } | ||
|
r28 | QIcon PythonQtWrapper_QTreeWidgetItem::icon(QTreeWidgetItem* theWrappedObject, int column) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->icon(column); | ||
|
r13 | } | ||
|
r28 | bool PythonQtWrapper_QTreeWidgetItem::isHidden(QTreeWidgetItem* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->isHidden(); | ||
|
r13 | } | ||
|
r24 | void PythonQtWrapper_QTreeWidgetItem::setStatusTip(QTreeWidgetItem* theWrappedObject, int column, const QString& statusTip) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setStatusTip(column, statusTip); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTreeWidgetItem::addChild(QTreeWidgetItem* theWrappedObject, QTreeWidgetItem* child) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->addChild(child); | ||
|
r13 | } | ||
|
r28 | int PythonQtWrapper_QTreeWidgetItem::indexOfChild(QTreeWidgetItem* theWrappedObject, QTreeWidgetItem* child) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->indexOfChild(child); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTreeWidgetItem::setSizeHint(QTreeWidgetItem* theWrappedObject, int column, const QSize& size) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setSizeHint(column, size); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTreeWidgetItem::setBackground(QTreeWidgetItem* theWrappedObject, int column, const QBrush& brush) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setBackground(column, brush); | ||
|
r13 | } | ||
|
r28 | int PythonQtWrapper_QTreeWidgetItem::childCount(QTreeWidgetItem* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->childCount(); | ||
|
r13 | } | ||
|
r28 | QVariant PythonQtWrapper_QTreeWidgetItem::data(QTreeWidgetItem* theWrappedObject, int column, int role) const | ||
|
r13 | { | ||
|
r28 | return ((PythonQtPublicPromoter_QTreeWidgetItem*)theWrappedObject)->promoted_data(column, role); | ||
|
r13 | } | ||
|
r28 | int PythonQtWrapper_QTreeWidgetItem::textAlignment(QTreeWidgetItem* theWrappedObject, int column) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->textAlignment(column); | ||
|
r13 | } | ||
|
r28 | QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::clone(QTreeWidgetItem* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return ((PythonQtPublicPromoter_QTreeWidgetItem*)theWrappedObject)->promoted_clone(); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTreeWidgetItem::readFrom(QTreeWidgetItem* theWrappedObject, QDataStream& in) | ||
|
r13 | { | ||
|
r28 | in >> (*theWrappedObject); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTreeWidgetItem::sortChildren(QTreeWidgetItem* theWrappedObject, int column, Qt::SortOrder order) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->sortChildren(column, order); | ||
|
r13 | } | ||
|
r28 | QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::child(QTreeWidgetItem* theWrappedObject, int index) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->child(index); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTreeWidgetItem::setTextAlignment(QTreeWidgetItem* theWrappedObject, int column, int alignment) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setTextAlignment(column, alignment); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTreeWidgetItem::setToolTip(QTreeWidgetItem* theWrappedObject, int column, const QString& toolTip) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setToolTip(column, toolTip); | ||
|
r13 | } | ||
|
r28 | QString PythonQtWrapper_QTreeWidgetItem::whatsThis(QTreeWidgetItem* theWrappedObject, int column) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->whatsThis(column); | ||
|
r13 | } | ||
|
r28 | Qt::ItemFlags PythonQtWrapper_QTreeWidgetItem::flags(QTreeWidgetItem* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->flags(); | ||
|
r13 | } | ||
|
r28 | QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::takeChild(QTreeWidgetItem* theWrappedObject, int index) | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->takeChild(index); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTreeWidgetItem::setChildIndicatorPolicy(QTreeWidgetItem* theWrappedObject, QTreeWidgetItem::ChildIndicatorPolicy policy) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setChildIndicatorPolicy(policy); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTreeWidgetItem::setFirstColumnSpanned(QTreeWidgetItem* theWrappedObject, bool span) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setFirstColumnSpanned(span); | ||
|
r13 | } | ||
|
r28 | QSize PythonQtWrapper_QTreeWidgetItem::sizeHint(QTreeWidgetItem* theWrappedObject, int column) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->sizeHint(column); | ||
|
r13 | } | ||
|
r28 | bool PythonQtWrapper_QTreeWidgetItem::isExpanded(QTreeWidgetItem* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->isExpanded(); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTreeWidgetItem::setDisabled(QTreeWidgetItem* theWrappedObject, bool disabled) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setDisabled(disabled); | ||
|
r13 | } | ||
|
r28 | QFont PythonQtWrapper_QTreeWidgetItem::font(QTreeWidgetItem* theWrappedObject, int column) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->font(column); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTreeWidgetItem::setExpanded(QTreeWidgetItem* theWrappedObject, bool expand) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setExpanded(expand); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTreeWidgetItem::addChildren(QTreeWidgetItem* theWrappedObject, const QList<QTreeWidgetItem* >& children) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->addChildren(children); | ||
|
r13 | } | ||
|
r28 | QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::parent(QTreeWidgetItem* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->parent(); | ||
|
r13 | } | ||
|
r28 | QTreeWidgetItem::ChildIndicatorPolicy PythonQtWrapper_QTreeWidgetItem::childIndicatorPolicy(QTreeWidgetItem* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->childIndicatorPolicy(); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTreeWidgetItem::setCheckState(QTreeWidgetItem* theWrappedObject, int column, Qt::CheckState state) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setCheckState(column, state); | ||
|
r13 | } | ||
|
r28 | QList<QTreeWidgetItem* > PythonQtWrapper_QTreeWidgetItem::takeChildren(QTreeWidgetItem* theWrappedObject) | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->takeChildren(); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTreeWidgetItem::setText(QTreeWidgetItem* theWrappedObject, int column, const QString& text) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setText(column, text); | ||
|
r13 | } | ||
|
r28 | QString PythonQtWrapper_QTreeWidgetItem::toolTip(QTreeWidgetItem* theWrappedObject, int column) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->toolTip(column); | ||
|
r13 | } | ||
|
r28 | bool PythonQtWrapper_QTreeWidgetItem::isFirstColumnSpanned(QTreeWidgetItem* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->isFirstColumnSpanned(); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTreeWidgetItem::setFlags(QTreeWidgetItem* theWrappedObject, Qt::ItemFlags flags) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setFlags(flags); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTreeWidgetItem::setIcon(QTreeWidgetItem* theWrappedObject, int column, const QIcon& icon) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setIcon(column, icon); | ||
|
r13 | } | ||