diff options
author | Alexis Menard <alexis.menard@nokia.com> | 2010-03-30 01:10:10 (GMT) |
---|---|---|
committer | Alexis Menard <alexis.menard@nokia.com> | 2010-03-30 01:10:10 (GMT) |
commit | 1d094129c0c3994df4e59cd9eda6981a7b131903 (patch) | |
tree | 64077f9f79adaa581dc09f77af8bf40f90124279 /src/gui/graphicsview | |
parent | 87fae30fc63460e0ed2cc98f55a22e28d7520311 (diff) | |
download | Qt-1d094129c0c3994df4e59cd9eda6981a7b131903.zip Qt-1d094129c0c3994df4e59cd9eda6981a7b131903.tar.gz Qt-1d094129c0c3994df4e59cd9eda6981a7b131903.tar.bz2 |
struct -> class, it's better.
Reviewed-by:TrustMe
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 669ae1b..eb5fac7 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); |