PythonQtWrapper_QItemSelection.cpp
229 lines
| 6.7 KiB
| text/x-c
|
CppLexer
|
r13 | #include "PythonQtWrapper_QItemSelection.h" | ||
|
r24 | #include <PythonQtSignalReceiver.h> | ||
#include <PythonQtMethodInfo.h> | ||||
#include <PythonQtConversion.h> | ||||
|
r13 | #include <QVariant> | ||
#include <qabstractitemmodel.h> | ||||
#include <qitemselectionmodel.h> | ||||
#include <qlist.h> | ||||
#include <qvector.h> | ||||
QItemSelection* PythonQtWrapper_QItemSelection::new_QItemSelection() | ||||
{ | ||||
return new QItemSelection(); } | ||||
QItemSelection* PythonQtWrapper_QItemSelection::new_QItemSelection(const QModelIndex& topLeft, const QModelIndex& bottomRight) | ||||
{ | ||||
return new QItemSelection(topLeft, bottomRight); } | ||||
|
r28 | void PythonQtWrapper_QItemSelection::clear(QItemSelection* theWrappedObject) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->clear(); | ||
|
r13 | } | ||
|
r28 | QList<QModelIndex > PythonQtWrapper_QItemSelection::indexes(QItemSelection* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->indexes(); | ||
|
r13 | } | ||
|
r24 | void PythonQtWrapper_QItemSelection::move(QItemSelection* theWrappedObject, int from, int to) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->move(from, to); | ||
|
r13 | } | ||
|
r28 | QItemSelectionRange PythonQtWrapper_QItemSelection::takeLast(QItemSelection* theWrappedObject) | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->takeLast(); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QItemSelection::append(QItemSelection* theWrappedObject, const QItemSelectionRange& t) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->append(t); | ||
|
r13 | } | ||
|
r28 | const QItemSelectionRange& PythonQtWrapper_QItemSelection::front(QItemSelection* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->front(); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QItemSelection::merge(QItemSelection* theWrappedObject, const QItemSelection& other, QItemSelectionModel::SelectionFlags command) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->merge(other, command); | ||
|
r13 | } | ||
|
r28 | QList<QItemSelectionRange > PythonQtWrapper_QItemSelection::mid(QItemSelection* theWrappedObject, int pos, int length) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->mid(pos, length); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QItemSelection::push_front(QItemSelection* theWrappedObject, const QItemSelectionRange& t) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->push_front(t); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QItemSelection::push_back(QItemSelection* theWrappedObject, const QItemSelectionRange& t) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->push_back(t); | ||
|
r13 | } | ||
|
r28 | QVector<QItemSelectionRange > PythonQtWrapper_QItemSelection::toVector(QItemSelection* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->toVector(); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QItemSelection::pop_front(QItemSelection* theWrappedObject) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->pop_front(); | ||
|
r13 | } | ||
|
r28 | bool PythonQtWrapper_QItemSelection::contains(QItemSelection* theWrappedObject, const QModelIndex& index) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->contains(index); | ||
|
r13 | } | ||
|
r28 | const QItemSelectionRange& PythonQtWrapper_QItemSelection::at(QItemSelection* theWrappedObject, int i) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->at(i); | ||
|
r13 | } | ||
|
r28 | int PythonQtWrapper_QItemSelection::removeAll(QItemSelection* theWrappedObject, const QItemSelectionRange& t) | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->removeAll(t); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QItemSelection::setSharable(QItemSelection* theWrappedObject, bool sharable) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setSharable(sharable); | ||
|
r13 | } | ||
|
r28 | int PythonQtWrapper_QItemSelection::lastIndexOf(QItemSelection* theWrappedObject, const QItemSelectionRange& t, int from) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->lastIndexOf(t, from); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QItemSelection::static_QItemSelection_split(const QItemSelectionRange& range, const QItemSelectionRange& other, QItemSelection* result) | ||
|
r13 | { | ||
|
r28 | QItemSelection::split(range, other, result); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QItemSelection::pop_back(QItemSelection* theWrappedObject) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->pop_back(); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QItemSelection::prepend(QItemSelection* theWrappedObject, const QItemSelectionRange& t) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->prepend(t); | ||
|
r13 | } | ||
|
r28 | QItemSelectionRange PythonQtWrapper_QItemSelection::value(QItemSelection* theWrappedObject, int i, const QItemSelectionRange& defaultValue) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->value(i, defaultValue); | ||
|
r13 | } | ||
|
r28 | int PythonQtWrapper_QItemSelection::count(QItemSelection* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->count(); | ||
|
r13 | } | ||
|
r28 | QItemSelectionRange PythonQtWrapper_QItemSelection::takeFirst(QItemSelection* theWrappedObject) | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->takeFirst(); | ||
|
r13 | } | ||
|
r28 | QItemSelectionRange PythonQtWrapper_QItemSelection::value(QItemSelection* theWrappedObject, int i) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->value(i); | ||
|
r13 | } | ||
|
r28 | QList<QItemSelectionRange > PythonQtWrapper_QItemSelection::static_QItemSelection_fromVector(const QVector<QItemSelectionRange >& vector) | ||
|
r13 | { | ||
|
r28 | return QItemSelection::fromVector(vector); | ||
|
r13 | } | ||
|
r28 | bool PythonQtWrapper_QItemSelection::operator_equal(QItemSelection* theWrappedObject, const QList<QItemSelectionRange >& l) const | ||
|
r13 | { | ||
|
r28 | return (*theWrappedObject)== l; | ||
|
r13 | } | ||
|
r28 | const QItemSelectionRange& PythonQtWrapper_QItemSelection::last(QItemSelection* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->last(); | ||
|
r13 | } | ||
|
r24 | void PythonQtWrapper_QItemSelection::select(QItemSelection* theWrappedObject, const QModelIndex& topLeft, const QModelIndex& bottomRight) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->select(topLeft, bottomRight); | ||
|
r13 | } | ||
|
r28 | int PythonQtWrapper_QItemSelection::indexOf(QItemSelection* theWrappedObject, const QItemSelectionRange& t, int from) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->indexOf(t, from); | ||
|
r13 | } | ||
|
r28 | bool PythonQtWrapper_QItemSelection::removeOne(QItemSelection* theWrappedObject, const QItemSelectionRange& t) | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->removeOne(t); | ||
|
r13 | } | ||
|
r28 | const QItemSelectionRange& PythonQtWrapper_QItemSelection::first(QItemSelection* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->first(); | ||
|
r13 | } | ||
|
r24 | QItemSelectionRange PythonQtWrapper_QItemSelection::takeAt(QItemSelection* theWrappedObject, int i) | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->takeAt(i); | ||
|
r13 | } | ||
|
r28 | bool PythonQtWrapper_QItemSelection::isEmpty(QItemSelection* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->isEmpty(); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QItemSelection::replace(QItemSelection* theWrappedObject, int i, const QItemSelectionRange& t) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->replace(i, t); | ||
|
r13 | } | ||
|
r28 | int PythonQtWrapper_QItemSelection::count(QItemSelection* theWrappedObject, const QItemSelectionRange& t) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->count(t); | ||
|
r13 | } | ||
|
r24 | void PythonQtWrapper_QItemSelection::removeFirst(QItemSelection* theWrappedObject) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->removeFirst(); | ||
|
r13 | } | ||
|
r24 | void PythonQtWrapper_QItemSelection::removeLast(QItemSelection* theWrappedObject) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->removeLast(); | ||
|
r13 | } | ||
|
r28 | bool PythonQtWrapper_QItemSelection::empty(QItemSelection* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->empty(); | ||
|
r13 | } | ||
|
r28 | int PythonQtWrapper_QItemSelection::size(QItemSelection* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->size(); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QItemSelection::removeAt(QItemSelection* theWrappedObject, int i) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->removeAt(i); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QItemSelection::swap(QItemSelection* theWrappedObject, int i, int j) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->swap(i, j); | ||
|
r13 | } | ||
|
r28 | const QItemSelectionRange& PythonQtWrapper_QItemSelection::back(QItemSelection* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->back(); | ||
|
r13 | } | ||