summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qdeclarativepropertycache_p.h
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-03-10 06:53:27 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-03-10 06:54:12 (GMT)
commitf5693b93949758905dac770a0c21eb34c4e1686b (patch)
tree7039cdc6814164aa13a1572553fc57cce0a77253 /src/declarative/qml/qdeclarativepropertycache_p.h
parentfedf97276ce8b9b982b2d897a40f5b6428c710a8 (diff)
downloadQt-f5693b93949758905dac770a0c21eb34c4e1686b.zip
Qt-f5693b93949758905dac770a0c21eb34c4e1686b.tar.gz
Qt-f5693b93949758905dac770a0c21eb34c4e1686b.tar.bz2
Remove accidentally submitted code
Diffstat (limited to 'src/declarative/qml/qdeclarativepropertycache_p.h')
-rw-r--r--src/declarative/qml/qdeclarativepropertycache_p.h9
1 files changed, 1 insertions, 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);