PythonQtWrapper_QItemSelection.h
70 lines
| 4.0 KiB
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QITEMSELECTION_H | ||
#define PYTHONQTWRAPPER_QITEMSELECTION_H | ||||
#include <qitemselectionmodel.h> | ||||
#include <QObject> | ||||
florianlink
|
r24 | #include <PythonQt.h> | ||
florianlink
|
r13 | #include <QVariant> | ||
#include <qabstractitemmodel.h> | ||||
#include <qitemselectionmodel.h> | ||||
#include <qlist.h> | ||||
#include <qvector.h> | ||||
class PythonQtWrapper_QItemSelection : public QObject | ||||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QItemSelection* new_QItemSelection(); | ||||
QItemSelection* new_QItemSelection(const QModelIndex& topLeft, const QModelIndex& bottomRight); | ||||
florianlink
|
r24 | QItemSelection* new_QItemSelection(const QItemSelection& other) { | ||
QItemSelection* a = new QItemSelection(); | ||||
*((QItemSelection*)a) = other; | ||||
return a; } | ||||
florianlink
|
r13 | void delete_QItemSelection(QItemSelection* obj) { delete obj; } | ||
florianlink
|
r28 | void clear(QItemSelection* theWrappedObject); | ||
florianlink
|
r24 | QList<QModelIndex > indexes(QItemSelection* theWrappedObject) const; | ||
void move(QItemSelection* theWrappedObject, int from, int to); | ||||
florianlink
|
r28 | QItemSelectionRange takeLast(QItemSelection* theWrappedObject); | ||
void append(QItemSelection* theWrappedObject, const QItemSelectionRange& t); | ||||
const QItemSelectionRange& front(QItemSelection* theWrappedObject) const; | ||||
void merge(QItemSelection* theWrappedObject, const QItemSelection& other, QItemSelectionModel::SelectionFlags command); | ||||
QList<QItemSelectionRange > mid(QItemSelection* theWrappedObject, int pos, int length) const; | ||||
void push_front(QItemSelection* theWrappedObject, const QItemSelectionRange& t); | ||||
void push_back(QItemSelection* theWrappedObject, const QItemSelectionRange& t); | ||||
QVector<QItemSelectionRange > toVector(QItemSelection* theWrappedObject) const; | ||||
florianlink
|
r24 | void pop_front(QItemSelection* theWrappedObject); | ||
florianlink
|
r28 | bool contains(QItemSelection* theWrappedObject, const QModelIndex& index) const; | ||
florianlink
|
r13 | const QItemSelectionRange& at(QItemSelection* theWrappedObject, int i) const; | ||
florianlink
|
r24 | int removeAll(QItemSelection* theWrappedObject, const QItemSelectionRange& t); | ||
void setSharable(QItemSelection* theWrappedObject, bool sharable); | ||||
florianlink
|
r28 | int lastIndexOf(QItemSelection* theWrappedObject, const QItemSelectionRange& t, int from) const; | ||
void static_QItemSelection_split(const QItemSelectionRange& range, const QItemSelectionRange& other, QItemSelection* result); | ||||
void pop_back(QItemSelection* theWrappedObject); | ||||
void prepend(QItemSelection* theWrappedObject, const QItemSelectionRange& t); | ||||
florianlink
|
r24 | QItemSelectionRange value(QItemSelection* theWrappedObject, int i, const QItemSelectionRange& defaultValue) const; | ||
florianlink
|
r28 | int count(QItemSelection* theWrappedObject) const; | ||
florianlink
|
r24 | QItemSelectionRange takeFirst(QItemSelection* theWrappedObject); | ||
QItemSelectionRange value(QItemSelection* theWrappedObject, int i) const; | ||||
florianlink
|
r28 | QList<QItemSelectionRange > static_QItemSelection_fromVector(const QVector<QItemSelectionRange >& vector); | ||
bool operator_equal(QItemSelection* theWrappedObject, const QList<QItemSelectionRange >& l) const; | ||||
const QItemSelectionRange& last(QItemSelection* theWrappedObject) const; | ||||
florianlink
|
r24 | void select(QItemSelection* theWrappedObject, const QModelIndex& topLeft, const QModelIndex& bottomRight); | ||
int indexOf(QItemSelection* theWrappedObject, const QItemSelectionRange& t, int from) const; | ||||
florianlink
|
r28 | bool removeOne(QItemSelection* theWrappedObject, const QItemSelectionRange& t); | ||
const QItemSelectionRange& first(QItemSelection* theWrappedObject) const; | ||||
florianlink
|
r24 | QItemSelectionRange takeAt(QItemSelection* theWrappedObject, int i); | ||
florianlink
|
r28 | bool isEmpty(QItemSelection* theWrappedObject) const; | ||
florianlink
|
r24 | void replace(QItemSelection* theWrappedObject, int i, const QItemSelectionRange& t); | ||
florianlink
|
r28 | int count(QItemSelection* theWrappedObject, const QItemSelectionRange& t) const; | ||
florianlink
|
r13 | void removeFirst(QItemSelection* theWrappedObject); | ||
void removeLast(QItemSelection* theWrappedObject); | ||||
florianlink
|
r28 | bool empty(QItemSelection* theWrappedObject) const; | ||
florianlink
|
r13 | int size(QItemSelection* theWrappedObject) const; | ||
florianlink
|
r24 | void removeAt(QItemSelection* theWrappedObject, int i); | ||
florianlink
|
r13 | void swap(QItemSelection* theWrappedObject, int i, int j); | ||
florianlink
|
r28 | const QItemSelectionRange& back(QItemSelection* theWrappedObject) const; | ||
florianlink
|
r13 | }; | ||
#endif // PYTHONQTWRAPPER_QITEMSELECTION_H | ||||