summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-03-30 00:17:20 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-03-30 00:17:20 (GMT)
commit1494bc444f43e98250f9d29c50a128e5cf4ca328 (patch)
tree051b589cc93c609f0668a5c748efec854723b487 /src/declarative/qml
parent2a61160215d4861f9c98df03ae161647ee0cb57d (diff)
downloadQt-1494bc444f43e98250f9d29c50a128e5cf4ca328.zip
Qt-1494bc444f43e98250f9d29c50a128e5cf4ca328.tar.gz
Qt-1494bc444f43e98250f9d29c50a128e5cf4ca328.tar.bz2
Make QDeclarativeListProperty a class
Apparently structs are not socially acceptable.
Diffstat (limited to 'src/declarative/qml')
-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 bd87990..219aa4b 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);