diff options
author | Alexis Menard <alexis.menard@nokia.com> | 2010-03-31 00:30:41 (GMT) |
---|---|---|
committer | Alexis Menard <alexis.menard@nokia.com> | 2010-03-31 00:30:41 (GMT) |
commit | 82a306e7dda06909801f576bbbbebb59dc41c563 (patch) | |
tree | 7faed80a92c6bc0e74413c4e7196e8ef7839d46c | |
parent | 6cb935dd89a391f792f8ad42012b5c7c38712f17 (diff) | |
download | Qt-82a306e7dda06909801f576bbbbebb59dc41c563.zip Qt-82a306e7dda06909801f576bbbbebb59dc41c563.tar.gz Qt-82a306e7dda06909801f576bbbbebb59dc41c563.tar.bz2 |
Revert "struct -> class, it's better."
This reverts commit 1d094129c0c3994df4e59cd9eda6981a7b131903.
-rw-r--r-- | src/gui/graphicsview/qgraphicsitem_p.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/graphicsview/qgraphicsitem_p.h b/src/gui/graphicsview/qgraphicsitem_p.h index eb5fac7..669ae1b 100644 --- a/src/gui/graphicsview/qgraphicsitem_p.h +++ b/src/gui/graphicsview/qgraphicsitem_p.h @@ -74,8 +74,7 @@ class QGraphicsItemPrivate; #ifndef QDECLARATIVELISTPROPERTY #define QDECLARATIVELISTPROPERTY template<typename T> -class QDeclarativeListProperty { -public: +struct QDeclarativeListProperty { typedef void (*AppendFunction)(QDeclarativeListProperty<T> *, T*); typedef int (*CountFunction)(QDeclarativeListProperty<T> *); typedef T *(*AtFunction)(QDeclarativeListProperty<T> *, int); |