diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-03-10 05:56:38 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-03-10 06:18:18 (GMT) |
commit | 46dfe1e6dad1f3a74cb15bfd538e9fe28ffac5b3 (patch) | |
tree | 160c9ce10c08d10d3ab92508384d02423bc58bf4 /src/declarative/qml/qdeclarativeexpression_p.h | |
parent | b5be801a5277cf63185f36d2ca1557b941340ce3 (diff) | |
download | Qt-46dfe1e6dad1f3a74cb15bfd538e9fe28ffac5b3.zip Qt-46dfe1e6dad1f3a74cb15bfd538e9fe28ffac5b3.tar.gz Qt-46dfe1e6dad1f3a74cb15bfd538e9fe28ffac5b3.tar.bz2 |
Unify binding optimizer and QtScript binding signal management logic
Diffstat (limited to 'src/declarative/qml/qdeclarativeexpression_p.h')
-rw-r--r-- | src/declarative/qml/qdeclarativeexpression_p.h | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/src/declarative/qml/qdeclarativeexpression_p.h b/src/declarative/qml/qdeclarativeexpression_p.h index cd1729d..d170559 100644 --- a/src/declarative/qml/qdeclarativeexpression_p.h +++ b/src/declarative/qml/qdeclarativeexpression_p.h @@ -129,24 +129,7 @@ public: QString url; // This is a QString for a reason. QUrls are slooooooow... int line; - struct SignalGuard : public QDeclarativeGuard<QObject> { - SignalGuard() : isDuplicate(false), notifyIndex(-1) {} - - SignalGuard &operator=(QObject *obj) { - QDeclarativeGuard<QObject>::operator=(obj); - return *this; - } - SignalGuard &operator=(const SignalGuard &o) { - QDeclarativeGuard<QObject>::operator=(o); - isDuplicate = o.isDuplicate; - notifyIndex = o.notifyIndex; - return *this; - } - - bool isDuplicate:1; - int notifyIndex:31; - }; - SignalGuard *guardList; + QDeclarativeNotifierEndpoint *guardList; int guardListLength; }; |