aboutsummaryrefslogtreecommitdiffstats
path: root/src/declarative
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2011-12-06 13:58:21 +0100
committerQt by Nokia <qt-info@nokia.com>2011-12-14 04:48:23 +0100
commit5676c6c02a5c3869036dbdbebd2338fd994b9473 (patch)
tree0ef8352541077f6704cc9f1a99db73e551236152 /src/declarative
parentf5dbae43343be8051ddffea7b3505844a24b3948 (diff)
Fix warnings about struct/class mismatch (QDeclarativeAccessor).
Change-Id: I85cb4042db9b4417f1098a65e99c5524e829fe92 Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
Diffstat (limited to 'src/declarative')
-rw-r--r--src/declarative/qml/qdeclarativeaccessors_p.h3
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);
};