mirror of
https://github.com/status-im/dotherside.git
synced 2025-02-12 04:26:43 +00:00
Improved the documentation
This commit is contained in:
parent
189ab1a2c6
commit
544990386a
@ -399,21 +399,17 @@ DOS_API void DOS_CALL dos_qabstractlistmodel_endRemoveRows (DosQAbstractListMod
|
||||
DOS_API void DOS_CALL dos_qabstractlistmodel_beginResetModel(DosQAbstractListModel *vptr);
|
||||
DOS_API void DOS_CALL dos_qabstractlistmodel_endResetModel (DosQAbstractListModel *vptr);
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* \brief Emit the dataChanged signal
|
||||
* \param vptr The DosQAbstractListModel pointer
|
||||
* \param topLeft The topLeft DosQModelIndex. The index is owned by the caller thus it will not be deleted
|
||||
* \param bottomRight The bottomright DosQModelIndex. The index is owned by the caller thus it will not be deleted
|
||||
* \param rolesPtr The roles array. The pointer is owned by the caller and thus it will not be deleted
|
||||
* \param rolesLength The roles array length
|
||||
*/
|
||||
/// \brief Emit the dataChanged signal
|
||||
/// \param vptr The DosQAbstractListModel pointer
|
||||
/// \param topLeft The topLeft DosQModelIndex
|
||||
/// \param bottomRight The bottomright DosQModelIndex
|
||||
/// \param rolesPtr The roles array
|
||||
/// \param rolesLength The roles array length
|
||||
/// \note The \p topLeft, \p bottomRight and \p rolesPtr arguments are owned by the caller thus they will not be deleted
|
||||
DOS_API void DOS_CALL dos_qabstractlistmodel_dataChanged(DosQAbstractListModel *vptr,
|
||||
const DosQModelIndex *topLeft,
|
||||
const DosQModelIndex *bottomRight,
|
||||
int *rolesPtr, int rolesLength);
|
||||
|
||||
/// @}
|
||||
|
||||
|
||||
@ -426,7 +422,6 @@ DOS_API void DOS_CALL dos_qabstractlistmodel_dataChanged(DosQAbstractListModel *
|
||||
/// \note The returned QObject should be freed using dos_qmetaobject_delete().
|
||||
DOS_API DosQMetaObject *DOS_CALL dos_qobject_qmetaobject();
|
||||
|
||||
|
||||
/// \brief Create a new QObject
|
||||
/// \param metaObject The QMetaObject associated to the given QObject
|
||||
/// \param dObjectCallback The callback called from QML whenever a slot or property
|
||||
@ -437,7 +432,6 @@ DOS_API DosQObject *DOS_CALL dos_qobject_create(void *dObjectPointer,
|
||||
DosQMetaObject *metaObject,
|
||||
DObjectCallback dObjectCallback);
|
||||
|
||||
|
||||
/// \brief Emit a signal definited in a QObject
|
||||
/// \param name The signal name
|
||||
/// \param parametersCount The number of parameters in the \p parameters array
|
||||
@ -458,21 +452,18 @@ DOS_API bool DOS_CALL dos_qobject_signal_disconnect(DosQObject *senderVPtr,
|
||||
DosQObject *receiverVPtr,
|
||||
const char *method);
|
||||
|
||||
|
||||
/// \brief Return the DosQObject objectName
|
||||
/// \param vptr The DosQObject pointer
|
||||
/// \return A string in UTF8 format
|
||||
/// \note The returned string should be freed using the dos_chararray_delete() function
|
||||
DOS_API char *DOS_CALL dos_qobject_objectName(const DosQObject *vptr);
|
||||
|
||||
|
||||
/// \brief Calls the QObject::setObjectName() function
|
||||
/// \param vptr The QObject
|
||||
/// \param name A pointer to an UTF-8 string
|
||||
/// \note The \p name string is owned by the caller thus it will not be deleted
|
||||
DOS_API void DOS_CALL dos_qobject_setObjectName(DosQObject *vptr, const char *name);
|
||||
|
||||
|
||||
/// \brief Free the memory allocated for the QObject
|
||||
/// \param vptr The QObject
|
||||
DOS_API void DOS_CALL dos_qobject_delete(DosQObject *vptr);
|
||||
@ -518,7 +509,6 @@ DOS_API bool DOS_CALL dos_qmodelindex_isValid(const DosQModelIndex *vptr);
|
||||
/// \note The returned QVariant should be freed by calling the dos_qvariant_delete() function
|
||||
DOS_API DosQVariant *DOS_CALL dos_qmodelindex_data (const DosQModelIndex *vptr, int role);
|
||||
|
||||
|
||||
/// \brief Calls the QModelIndex::parent() function
|
||||
/// \param vptr The QModelIndex
|
||||
/// \return The model parent QModelIndex
|
||||
|
Loading…
x
Reference in New Issue
Block a user