aboutsummaryrefslogtreecommitdiffstats
path: root/src/declarative/qml
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@nokia.com>2011-11-17 09:25:44 +0100
committerQt by Nokia <qt-info@nokia.com>2011-11-21 09:43:02 +0100
commiteeadfe200d71d778516b9dfb699046c005f8b6a0 (patch)
treedeb80a55c9f4a7e5cc18760b8f88534b869b6943 /src/declarative/qml
parentb3e5750027c854dbe5a671c56c0c3d0b48026312 (diff)
Fix MSVC warning about struct vs class declaration
Change-Id: I00dc08c746b30f6d49b831989ae1d0d798b430a5 warning: C4099: 'QMetaObject' : type name first seen using 'struct' now seen using 'class' warning: C4099: 'QV4Program' : type name first seen using 'class' now seen using 'struct'` Reviewed-by: Martin Jones <martin.jones@nokia.com>
Diffstat (limited to 'src/declarative/qml')
-rw-r--r--src/declarative/qml/ftw/qfastmetabuilder_p.h2
-rw-r--r--src/declarative/qml/v4/qv4bindings_p.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/qml/ftw/qfastmetabuilder_p.h b/src/declarative/qml/ftw/qfastmetabuilder_p.h
index a2074672d8..770abb36cf 100644
--- a/src/declarative/qml/ftw/qfastmetabuilder_p.h
+++ b/src/declarative/qml/ftw/qfastmetabuilder_p.h
@@ -61,7 +61,7 @@
QT_BEGIN_NAMESPACE
-class QMetaObject;
+struct QMetaObject;
class QFastMetaBuilder
{
public:
diff --git a/src/declarative/qml/v4/qv4bindings_p.h b/src/declarative/qml/v4/qv4bindings_p.h
index 603d05d899..6bb15e4174 100644
--- a/src/declarative/qml/v4/qv4bindings_p.h
+++ b/src/declarative/qml/v4/qv4bindings_p.h
@@ -61,7 +61,7 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE
-class QV4Program;
+struct QV4Program;
class QV4Bindings : public QDeclarativeAbstractExpression,
public QDeclarativeRefCount
{