diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-03-30 00:17:20 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-03-30 00:17:20 (GMT) |
commit | 1494bc444f43e98250f9d29c50a128e5cf4ca328 (patch) | |
tree | 051b589cc93c609f0668a5c748efec854723b487 /src/gui/graphicsview | |
parent | 2a61160215d4861f9c98df03ae161647ee0cb57d (diff) | |
download | Qt-1494bc444f43e98250f9d29c50a128e5cf4ca328.zip Qt-1494bc444f43e98250f9d29c50a128e5cf4ca328.tar.gz Qt-1494bc444f43e98250f9d29c50a128e5cf4ca328.tar.bz2 |
Make QDeclarativeListProperty a class
Apparently structs are not socially acceptable.
Diffstat (limited to 'src/gui/graphicsview')
-rw-r--r-- | src/gui/graphicsview/qgraphicsitem_p.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/graphicsview/qgraphicsitem_p.h b/src/gui/graphicsview/qgraphicsitem_p.h index b6be79d..73b8f04 100644 --- a/src/gui/graphicsview/qgraphicsitem_p.h +++ b/src/gui/graphicsview/qgraphicsitem_p.h @@ -74,7 +74,8 @@ class QGraphicsItemPrivate; #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); |