diff options
author | Friedemann Kleint <[email protected]> | 2011-12-06 13:58:21 +0100 |
---|---|---|
committer | Qt by Nokia <[email protected]> | 2011-12-14 04:48:23 +0100 |
commit | 5676c6c02a5c3869036dbdbebd2338fd994b9473 (patch) | |
tree | 0ef8352541077f6704cc9f1a99db73e551236152 | |
parent | f5dbae43343be8051ddffea7b3505844a24b3948 (diff) |
Fix warnings about struct/class mismatch (QDeclarativeAccessor).
Change-Id: I85cb4042db9b4417f1098a65e99c5524e829fe92
Reviewed-by: Alan Alpert <[email protected]>
-rw-r--r-- | src/declarative/qml/qdeclarativeaccessors_p.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/declarative/qml/qdeclarativeaccessors_p.h b/src/declarative/qml/qdeclarativeaccessors_p.h index bf0b11189a..9f5f3839bc 100644 --- a/src/declarative/qml/qdeclarativeaccessors_p.h +++ b/src/declarative/qml/qdeclarativeaccessors_p.h @@ -97,8 +97,9 @@ class QDeclarativeNotifier; #define QML_PROPERTY_NAME(name) #name, sizeof #name - 1 -struct QDeclarativeAccessors +class QDeclarativeAccessors { +public: void (*read)(QObject *object, intptr_t property, void *output); void (*notifier)(QObject *object, intptr_t property, QDeclarativeNotifier **notifier); }; |