#include #include #include #include #include "gen_qtreewidgetitemiterator.h" #include "_cgo_export.h" void QTreeWidgetItemIterator_new(QTreeWidgetItemIterator* it, QTreeWidgetItemIterator** outptr_QTreeWidgetItemIterator) { QTreeWidgetItemIterator* ret = new QTreeWidgetItemIterator(*it); *outptr_QTreeWidgetItemIterator = ret; } void QTreeWidgetItemIterator_new2(QTreeWidget* widget, QTreeWidgetItemIterator** outptr_QTreeWidgetItemIterator) { QTreeWidgetItemIterator* ret = new QTreeWidgetItemIterator(widget); *outptr_QTreeWidgetItemIterator = ret; } void QTreeWidgetItemIterator_new3(QTreeWidgetItem* item, QTreeWidgetItemIterator** outptr_QTreeWidgetItemIterator) { QTreeWidgetItemIterator* ret = new QTreeWidgetItemIterator(item); *outptr_QTreeWidgetItemIterator = ret; } void QTreeWidgetItemIterator_new4(QTreeWidget* widget, int flags, QTreeWidgetItemIterator** outptr_QTreeWidgetItemIterator) { QTreeWidgetItemIterator* ret = new QTreeWidgetItemIterator(widget, static_cast(flags)); *outptr_QTreeWidgetItemIterator = ret; } void QTreeWidgetItemIterator_new5(QTreeWidgetItem* item, int flags, QTreeWidgetItemIterator** outptr_QTreeWidgetItemIterator) { QTreeWidgetItemIterator* ret = new QTreeWidgetItemIterator(item, static_cast(flags)); *outptr_QTreeWidgetItemIterator = ret; } void QTreeWidgetItemIterator_OperatorAssign(QTreeWidgetItemIterator* self, QTreeWidgetItemIterator* it) { self->operator=(*it); } QTreeWidgetItemIterator* QTreeWidgetItemIterator_OperatorPlusPlus(QTreeWidgetItemIterator* self) { QTreeWidgetItemIterator& _ret = self->operator++(); // Cast returned reference into pointer return &_ret; } QTreeWidgetItemIterator* QTreeWidgetItemIterator_OperatorPlusPlusWithInt(QTreeWidgetItemIterator* self, int param1) { return new QTreeWidgetItemIterator(self->operator++(static_cast(param1))); } QTreeWidgetItemIterator* QTreeWidgetItemIterator_OperatorPlusAssign(QTreeWidgetItemIterator* self, int n) { QTreeWidgetItemIterator& _ret = self->operator+=(static_cast(n)); // Cast returned reference into pointer return &_ret; } QTreeWidgetItemIterator* QTreeWidgetItemIterator_OperatorMinusMinus(QTreeWidgetItemIterator* self) { QTreeWidgetItemIterator& _ret = self->operator--(); // Cast returned reference into pointer return &_ret; } QTreeWidgetItemIterator* QTreeWidgetItemIterator_OperatorMinusMinusWithInt(QTreeWidgetItemIterator* self, int param1) { return new QTreeWidgetItemIterator(self->operator--(static_cast(param1))); } QTreeWidgetItemIterator* QTreeWidgetItemIterator_OperatorMinusAssign(QTreeWidgetItemIterator* self, int n) { QTreeWidgetItemIterator& _ret = self->operator-=(static_cast(n)); // Cast returned reference into pointer return &_ret; } QTreeWidgetItem* QTreeWidgetItemIterator_OperatorMultiply(const QTreeWidgetItemIterator* self) { return self->operator*(); } void QTreeWidgetItemIterator_Delete(QTreeWidgetItemIterator* self, bool isSubclass) { if (isSubclass) { delete dynamic_cast( self ); } else { delete self; } }