From f5693b93949758905dac770a0c21eb34c4e1686b Mon Sep 17 00:00:00 2001 From: Aaron Kennedy Date: Wed, 10 Mar 2010 16:53:27 +1000 Subject: Remove accidentally submitted code --- src/declarative/qml/qdeclarativepropertycache_p.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/declarative/qml/qdeclarativepropertycache_p.h b/src/declarative/qml/qdeclarativepropertycache_p.h index ea2f01a..db93de3 100644 --- a/src/declarative/qml/qdeclarativepropertycache_p.h +++ b/src/declarative/qml/qdeclarativepropertycache_p.h @@ -82,7 +82,6 @@ public: IsConstant = 0x00000001, IsWritable = 0x00000002, IsResettable = 0x00000004, - HasNotify = 0x00000008, // These are mutualy exclusive IsFunction = 0x00000010, @@ -98,18 +97,12 @@ public: }; Q_DECLARE_FLAGS(Flags, Flag) - - enum Call { ReadProperty, WriteProperty, ConnectNotify, DisconnectNotify }; - typedef void (*MetaCall)(QObject *, Call, void *); bool isValid() const { return coreIndex != -1; } Flags flags; int propType; - union { - MetaCall call; - int coreIndex; - }; + int coreIndex; int notifyIndex; static Flags flagsForProperty(const QMetaProperty &, QDeclarativeEngine *engine = 0); -- cgit v0.12