summaryrefslogtreecommitdiffstats
path: root/src/gui/graphicsview
diff options
context:
space:
mode:
authorAlexis Menard <alexis.menard@nokia.com>2010-03-30 01:10:10 (GMT)
committerAlexis Menard <alexis.menard@nokia.com>2010-03-30 01:10:10 (GMT)
commit1d094129c0c3994df4e59cd9eda6981a7b131903 (patch)
tree64077f9f79adaa581dc09f77af8bf40f90124279 /src/gui/graphicsview
parent87fae30fc63460e0ed2cc98f55a22e28d7520311 (diff)
downloadQt-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.h3
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);