summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qdeclarativelist.h
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-03-30 10:17:20 +1000
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-03-30 10:17:20 +1000
commit1494bc444f43e98250f9d29c50a128e5cf4ca328 (patch)
tree051b589cc93c609f0668a5c748efec854723b487 /src/declarative/qml/qdeclarativelist.h
parent2a61160215d4861f9c98df03ae161647ee0cb57d (diff)
Make QDeclarativeListProperty a class
Apparently structs are not socially acceptable.
Diffstat (limited to 'src/declarative/qml/qdeclarativelist.h')
-rw-r--r--src/declarative/qml/qdeclarativelist.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/declarative/qml/qdeclarativelist.h b/src/declarative/qml/qdeclarativelist.h
index bd879905d7..219aa4b1b8 100644
--- a/src/declarative/qml/qdeclarativelist.h
+++ b/src/declarative/qml/qdeclarativelist.h
@@ -58,7 +58,8 @@ struct QMetaObject;
#ifndef QDECLARATIVELISTPROPERTY
#define QDECLARATIVELISTPROPERTY
template<typename T>
-struct QDeclarativeListProperty {
+class QDeclarativeListProperty {
+public:
typedef void (*AppendFunction)(QDeclarativeListProperty<T> *, T*);
typedef int (*CountFunction)(QDeclarativeListProperty<T> *);
typedef T *(*AtFunction)(QDeclarativeListProperty<T> *, int);