DOtherSide
0.7.1
C language library for creating bindings for the Qt QML language
|
Functions related to the QAbstractItemModel class. More...
Functions | |
DOS_API DosQMetaObject * | dos_qabstractitemmodel_qmetaobject (void) |
Return QMetaObject associated to the QAbstractItemModel class. More... | |
DOS_API DosQAbstractItemModel * | dos_qabstractitemmodel_create (void *callbackObject, DosQMetaObject *metaObject, DObjectCallback dObjectCallback, DosQAbstractItemModelCallbacks *callbacks) |
Create a new QAbstractItemModel. More... | |
DOS_API bool | dos_qabstractitemmodel_setData (DosQAbstractItemModel *vptr, DosQModelIndex *index, DosQVariant *data, int role) |
Calls the QAbstractItemModel::setData function. More... | |
DOS_API DosQHashIntQByteArray * | dos_qabstractitemmodel_roleNames (DosQAbstractItemModel *vptr) |
Calls the QAbstractItemModel::roleNames function. More... | |
DOS_API int | dos_qabstractitemmodel_flags (DosQAbstractItemModel *vptr, DosQModelIndex *index) |
Calls the QAbstractItemModel::flags function. More... | |
DOS_API DosQVariant * | dos_qabstractitemmodel_headerData (DosQAbstractItemModel *vptr, int section, int orientation, int role) |
Calls the QAbstractItemModel::headerData function. More... | |
DOS_API bool | dos_qabstractitemmodel_hasChildren (DosQAbstractItemModel *vptr, DosQModelIndex *parentIndex) |
Calls the QAbstractItemModel::hasChildren function. | |
DOS_API bool | dos_qabstractitemmodel_hasIndex (DosQAbstractItemModel *vptr, int row, int column, DosQModelIndex *dosParentIndex) |
Calls the QAbstractItemModel::hasIndex function. | |
DOS_API bool | dos_qabstractitemmodel_canFetchMore (DosQAbstractItemModel *vptr, DosQModelIndex *parentIndex) |
Calls the QAbstractItemModel::canFetchMore function. | |
DOS_API void | dos_qabstractitemmodel_fetchMore (DosQAbstractItemModel *vptr, DosQModelIndex *parentIndex) |
Calls the QAbstractItemModel::fetchMore function. | |
DOS_API void | dos_qabstractitemmodel_beginInsertRows (DosQAbstractItemModel *vptr, DosQModelIndex *parent, int first, int last) |
Calls the QAbstractItemModel::beginInsertRows() function. More... | |
DOS_API void | dos_qabstractitemmodel_endInsertRows (DosQAbstractItemModel *vptr) |
Calls the QAbstractItemModel::endInsertRows() function. More... | |
DOS_API void | dos_qabstractitemmodel_beginRemoveRows (DosQAbstractItemModel *vptr, DosQModelIndex *parent, int first, int last) |
Calls the QAbstractItemModel::beginRemovetRows() function. More... | |
DOS_API void | dos_qabstractitemmodel_endRemoveRows (DosQAbstractItemModel *vptr) |
Calls the QAbstractItemModel::endRemoveRows() function. More... | |
DOS_API void | dos_qabstractitemmodel_beginInsertColumns (DosQAbstractItemModel *vptr, DosQModelIndex *parent, int first, int last) |
Calls the QAbstractItemModel::beginInsertColumns() function. More... | |
DOS_API void | dos_qabstractitemmodel_endInsertColumns (DosQAbstractItemModel *vptr) |
Calls the QAbstractItemModel::endInsertColumns() function. More... | |
DOS_API void | dos_qabstractitemmodel_beginRemoveColumns (DosQAbstractItemModel *vptr, DosQModelIndex *parent, int first, int last) |
Calls the QAbstractItemModel::beginRemovetColumns() function. More... | |
DOS_API void | dos_qabstractitemmodel_endRemoveColumns (DosQAbstractItemModel *vptr) |
Calls the QAbstractItemModel::endRemoveColumns() function. More... | |
DOS_API void | dos_qabstractitemmodel_beginResetModel (DosQAbstractItemModel *vptr) |
Calls the QAbstractItemModel::beginResetModel() function. More... | |
DOS_API void | dos_qabstractitemmodel_endResetModel (DosQAbstractItemModel *vptr) |
Calls the QAbstractItemModel::endResetModel() function. More... | |
DOS_API void | dos_qabstractitemmodel_dataChanged (DosQAbstractItemModel *vptr, const DosQModelIndex *topLeft, const DosQModelIndex *bottomRight, int *rolesPtr, int rolesLength) |
Emit the dataChanged signal. More... | |
DOS_API DosQModelIndex * | dos_qabstractitemmodel_createIndex (DosQAbstractItemModel *vptr, int row, int column, void *data) |
Calls the QAbstractItemModel::createIndex() function. | |
Functions related to the QAbstractItemModel class.
DOS_API void dos_qabstractitemmodel_beginInsertColumns | ( | DosQAbstractItemModel * | vptr, |
DosQModelIndex * | parent, | ||
int | first, | ||
int | last | ||
) |
Calls the QAbstractItemModel::beginInsertColumns() function.
vptr | The QAbstractItemModel |
parent | The parent QModelIndex |
first | The first column in the range |
last | The last column in the range |
parent
QModelIndex is owned by the caller thus it will not be deleted DOS_API void dos_qabstractitemmodel_beginInsertRows | ( | DosQAbstractItemModel * | vptr, |
DosQModelIndex * | parent, | ||
int | first, | ||
int | last | ||
) |
Calls the QAbstractItemModel::beginInsertRows() function.
vptr | The QAbstractItemModel |
parent | The parent QModelIndex |
first | The first row in the range |
last | The last row in the range |
parent
QModelIndex is owned by the caller thus it will not be deleted DOS_API void dos_qabstractitemmodel_beginRemoveColumns | ( | DosQAbstractItemModel * | vptr, |
DosQModelIndex * | parent, | ||
int | first, | ||
int | last | ||
) |
Calls the QAbstractItemModel::beginRemovetColumns() function.
vptr | The QAbstractItemModel |
parent | The parent QModelIndex |
first | The first column in the range |
last | The last column in the range |
parent
QModelIndex is owned by the caller thus it will not be deleted DOS_API void dos_qabstractitemmodel_beginRemoveRows | ( | DosQAbstractItemModel * | vptr, |
DosQModelIndex * | parent, | ||
int | first, | ||
int | last | ||
) |
Calls the QAbstractItemModel::beginRemovetRows() function.
vptr | The QAbstractItemModel |
parent | The parent QModelIndex |
first | The first column in the range |
last | The last column in the range |
parent
QModelIndex is owned by the caller thus it will not be deleted DOS_API void dos_qabstractitemmodel_beginResetModel | ( | DosQAbstractItemModel * | vptr | ) |
Calls the QAbstractItemModel::beginResetModel() function.
vptr | The QAbstractItemModel |
DOS_API DosQAbstractItemModel* dos_qabstractitemmodel_create | ( | void * | callbackObject, |
DosQMetaObject * | metaObject, | ||
DObjectCallback | dObjectCallback, | ||
DosQAbstractItemModelCallbacks * | callbacks | ||
) |
Create a new QAbstractItemModel.
callbackObject | The pointer of QAbstractItemModel in the binded language |
metaObject | The QMetaObject for this QAbstractItemModel |
dObjectCallback | The callback for handling the properties read/write and slots execution |
callbacks | The QAbstractItemModel callbacks |
DOS_API void dos_qabstractitemmodel_dataChanged | ( | DosQAbstractItemModel * | vptr, |
const DosQModelIndex * | topLeft, | ||
const DosQModelIndex * | bottomRight, | ||
int * | rolesPtr, | ||
int | rolesLength | ||
) |
Emit the dataChanged signal.
vptr | The DosQAbstractItemModel pointer |
topLeft | The topLeft DosQModelIndex |
bottomRight | The bottomright DosQModelIndex |
rolesPtr | The roles array |
rolesLength | The roles array length |
topLeft
, bottomRight
and rolesPtr
arguments are owned by the caller thus they will not be deleted DOS_API void dos_qabstractitemmodel_endInsertColumns | ( | DosQAbstractItemModel * | vptr | ) |
Calls the QAbstractItemModel::endInsertColumns() function.
vptr | The QAbstractItemModel |
DOS_API void dos_qabstractitemmodel_endInsertRows | ( | DosQAbstractItemModel * | vptr | ) |
Calls the QAbstractItemModel::endInsertRows() function.
vptr | The QAbstractItemModel |
DOS_API void dos_qabstractitemmodel_endRemoveColumns | ( | DosQAbstractItemModel * | vptr | ) |
Calls the QAbstractItemModel::endRemoveColumns() function.
vptr | The QAbstractItemModel |
DOS_API void dos_qabstractitemmodel_endRemoveRows | ( | DosQAbstractItemModel * | vptr | ) |
Calls the QAbstractItemModel::endRemoveRows() function.
vptr | The QAbstractItemModel |
DOS_API void dos_qabstractitemmodel_endResetModel | ( | DosQAbstractItemModel * | vptr | ) |
Calls the QAbstractItemModel::endResetModel() function.
vptr | The QAbstractItemModel |
DOS_API int dos_qabstractitemmodel_flags | ( | DosQAbstractItemModel * | vptr, |
DosQModelIndex * | index | ||
) |
Calls the QAbstractItemModel::flags function.
Calls the default QAbstractItemModel::flags() function.
DOS_API DosQVariant * dos_qabstractitemmodel_headerData | ( | DosQAbstractItemModel * | vptr, |
int | section, | ||
int | orientation, | ||
int | role | ||
) |
Calls the QAbstractItemModel::headerData function.
Calls the default QAbstractItemModel::headerData() function.
DOS_API DosQMetaObject* dos_qabstractitemmodel_qmetaobject | ( | void | ) |
Return QMetaObject associated to the QAbstractItemModel class.
DOS_API DosQHashIntQByteArray * dos_qabstractitemmodel_roleNames | ( | DosQAbstractItemModel * | vptr | ) |
Calls the QAbstractItemModel::roleNames function.
Calls the default QAbstractItemModel::roleNames() function.
DOS_API bool dos_qabstractitemmodel_setData | ( | DosQAbstractItemModel * | vptr, |
DosQModelIndex * | index, | ||
DosQVariant * | data, | ||
int | role | ||
) |
Calls the QAbstractItemModel::setData function.
Calls the default QAbstractItemModel::setData() function.