DOtherSide
0.7.1
C language library for creating bindings for the Qt QML language
|
Go to the documentation of this file.
28 #ifndef DOTHERSIDETYPES_H
29 #define DOTHERSIDETYPES_H
33 #define DOS_CALL __cdecl
207 typedef void (DOS_CALL *
CreateDObject)(
int id,
void *wrapper,
void **bindedQObject,
void **dosQObject);
380 enum DosQEventLoopProcessEventFlag {
381 DosQEventLoopProcessEventFlagProcessAllEvents = 0x00,
382 DosQEventLoopProcessEventFlagExcludeUserInputEvents = 0x01,
383 DosQEventLoopProcessEventFlagProcessExcludeSocketNotifiers = 0x02,
384 DosQEventLoopProcessEventFlagProcessAllEventsWaitForMoreEvents = 0x03
387 enum DosQtConnectionType {
388 DosQtConnectionTypeAutoConnection = 0,
389 DosQtConnectionTypeDirectConnection = 1,
390 DosQtConnectionTypeQueuedConnection = 2,
391 DosQtConnectionTypeBlockingConnection = 3,
392 DosQtCOnnectionTypeUniqueConnection = 0x80,
const char * name
The property name.
Definition: DOtherSideTypes.h:331
SlotDefinition * definitions
The slot definitions array.
Definition: DOtherSideTypes.h:321
PropertyDefinition * definitions
The property definitions array.
Definition: DOtherSideTypes.h:353
void DosQAbstractListModel
A pointer to a QAbstractListModel.
Definition: DOtherSideTypes.h:57
void DosQAbstractItemModel
A pointer to a QAbstractItemModel.
Definition: DOtherSideTypes.h:54
int count
The total number of signals.
Definition: DOtherSideTypes.h:291
Represents a set of slot definitions.
Definition: DOtherSideTypes.h:317
int metaType
The parameter metatype.
Definition: DOtherSideTypes.h:267
const char * name
The slot name.
Definition: DOtherSideTypes.h:303
Represents a set of property definitions.
Definition: DOtherSideTypes.h:349
void DosQQmlApplicationEngine
A pointer to a QQmlApplicationEngine.
Definition: DOtherSideTypes.h:63
Store an array of QVariant.
Definition: DOtherSideTypes.h:222
void DosQObject
A pointer to a QObject.
Definition: DOtherSideTypes.h:81
const char * qml
The type name to be used in QML files.
Definition: DOtherSideTypes.h:249
Represents a single signal definition.
Definition: DOtherSideTypes.h:275
The data needed for registering a custom type in the QML environment.
Definition: DOtherSideTypes.h:241
const char * writeSlot
The name of the property write slot.
Definition: DOtherSideTypes.h:338
void DosPixmap
A pointer to a QPixmap.
Definition: DOtherSideTypes.h:87
void(* SetDataCallback)(void *self, const DosQModelIndex *index, const DosQVariant *value, int role, bool *result)
Called when the QAbstractItemModel::setData method must be executed.
Definition: DOtherSideTypes.h:141
const char * readSlot
The name of the property read slot.
Definition: DOtherSideTypes.h:335
void DosQMetaObject
A pointer to a QMetaObject.
Definition: DOtherSideTypes.h:78
int returnMetaType
The slot return type.
Definition: DOtherSideTypes.h:305
DosQMetaObject * staticMetaObject
The type QMetaObject.
Definition: DOtherSideTypes.h:251
void(* CreateDObject)(int id, void *wrapper, void **bindedQObject, void **dosQObject)
Callback called from QML for creating a registered type.
Definition: DOtherSideTypes.h:207
CreateDObject createDObject
The callback invoked from QML when this type should be created.
Definition: DOtherSideTypes.h:253
void(* RowCountCallback)(void *self, const DosQModelIndex *parent, int *result)
Definition: DOtherSideTypes.h:122
int size
The number of elements.
Definition: DOtherSideTypes.h:224
void(* RoleNamesCallback)(void *self, DosQHashIntQByteArray *result)
Called when the QAbstractItemModel::roleNames method must be executed.
Definition: DOtherSideTypes.h:144
ParameterDefinition * parameters
The parameters.
Definition: DOtherSideTypes.h:281
void(* DeleteDObject)(int id, void *bindedQObject)
Callback invoked from QML for deleting a registered type.
Definition: DOtherSideTypes.h:217
void DosQPointer
A pointer to a QPointer.
Definition: DOtherSideTypes.h:90
int count
The total number of properties.
Definition: DOtherSideTypes.h:351
Represents a set of signal definitions.
Definition: DOtherSideTypes.h:289
DosQVariant ** data
The array.
Definition: DOtherSideTypes.h:226
int minor
The Module minor version.
Definition: DOtherSideTypes.h:245
const char * notifySignal
The name of the property notify signals.
Definition: DOtherSideTypes.h:341
void DosQVariant
A pointer to a QVariant.
Definition: DOtherSideTypes.h:48
ParameterDefinition * parameters
The parameters.
Definition: DOtherSideTypes.h:309
void DosQUrl
A pointer to a QUrl.
Definition: DOtherSideTypes.h:75
void(* CanFetchMoreCallback)(void *self, const DosQModelIndex *parent, bool *result)
Called when the QAbstractItemModel::canFetchMore method must be called.
Definition: DOtherSideTypes.h:162
Represents a parameter definition.
Definition: DOtherSideTypes.h:263
void DosQQmlContext
A pointer to a QQmlContext.
Definition: DOtherSideTypes.h:69
int parametersCount
The parameters count.
Definition: DOtherSideTypes.h:307
void DosQHashIntQByteArray
A pointer to a QHash<int,QByteArray>
Definition: DOtherSideTypes.h:72
void(* DataCallback)(void *self, const DosQModelIndex *index, int role, DosQVariant *result)
Definition: DOtherSideTypes.h:138
int major
The Module major version.
Definition: DOtherSideTypes.h:243
int parametersCount
The parameters count.
Definition: DOtherSideTypes.h:279
const char * uri
The Module uri.
Definition: DOtherSideTypes.h:247
void(* ParentCallback)(void *self, const DosQModelIndex *child, DosQModelIndex *result)
Called when the QAbstractItemModel::parent method must be called.
Definition: DOtherSideTypes.h:156
void(* RequestPixmapCallback)(const char *id, int *width, int *height, int requestedWidth, int requestedHeight, DosPixmap *result)
Definition: DOtherSideTypes.h:101
DeleteDObject deleteDObject
The callback invoked from QML when this type should be deleted.
Definition: DOtherSideTypes.h:255
void(* DObjectCallback)(void *self, DosQVariant *slotName, int argc, DosQVariant **argv)
Definition: DOtherSideTypes.h:114
void(* FetchMoreCallback)(void *self, const DosQModelIndex *parent)
Called when the QAbstractItemModel::fetchMore method must be called.
Definition: DOtherSideTypes.h:165
void DosQModelIndex
A pointer to a QModelIndex.
Definition: DOtherSideTypes.h:51
void(* FlagsCallback)(void *self, const DosQModelIndex *index, int *result)
Called when the QAbstractItemModel::flags method must be called.
Definition: DOtherSideTypes.h:147
void(* HasChildrenCallback)(void *self, const DosQModelIndex *parent, bool *result)
Called when the QAbstractItemModel::hasChildren method must be called.
Definition: DOtherSideTypes.h:159
void DosQAbstractTableModel
A pointer to a QAbstractTableModel.
Definition: DOtherSideTypes.h:60
const char * name
The parameter name.
Definition: DOtherSideTypes.h:265
void(* IndexCallback)(void *self, int row, int column, const DosQModelIndex *parent, DosQModelIndex *result)
Called when the QAbstractItemModel::index method must be called.
Definition: DOtherSideTypes.h:153
Represents a single slot definition.
Definition: DOtherSideTypes.h:301
SignalDefinition * definitions
The signals.
Definition: DOtherSideTypes.h:293
void DosQQuickImageProvider
A pointer to a QQuickImageProvider.
Definition: DOtherSideTypes.h:84
Incapsulate all the QAbstractItemModel callbacks.
Definition: DOtherSideTypes.h:361
void(* HeaderDataCallback)(void *self, int section, int orientation, int role, DosQVariant *result)
Called when the QAbstractItemModel::headerData method must be called.
Definition: DOtherSideTypes.h:150
Represents a single property definition.
Definition: DOtherSideTypes.h:329
int count
The total number of slots.
Definition: DOtherSideTypes.h:319
void DosQQuickView
A pointer to a QQuickView.
Definition: DOtherSideTypes.h:66
void(* ColumnCountCallback)(void *self, const DosQModelIndex *parent, int *result)
Definition: DOtherSideTypes.h:130
int propertyMetaType
The property metatype.
Definition: DOtherSideTypes.h:333
const char * name
The signal name.
Definition: DOtherSideTypes.h:277