diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-12-02 04:56:20 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-12-02 04:56:20 (GMT) |
commit | 14827a4ae7fd531adc802219473d9822e696b982 (patch) | |
tree | 46e673e212e173a04825eb914040e8330991b79d /src/declarative/qml/qmlboundsignal_p.h | |
parent | c69e21f13d4c3dcd9b8a01c66cd15f64ca0cfcd3 (diff) | |
download | Qt-14827a4ae7fd531adc802219473d9822e696b982.zip Qt-14827a4ae7fd531adc802219473d9822e696b982.tar.gz Qt-14827a4ae7fd531adc802219473d9822e696b982.tar.bz2 |
Delay the creation of the signal parameter object until needed
Diffstat (limited to 'src/declarative/qml/qmlboundsignal_p.h')
-rw-r--r-- | src/declarative/qml/qmlboundsignal_p.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/declarative/qml/qmlboundsignal_p.h b/src/declarative/qml/qmlboundsignal_p.h index e801892..53a5a6b 100644 --- a/src/declarative/qml/qmlboundsignal_p.h +++ b/src/declarative/qml/qmlboundsignal_p.h @@ -55,6 +55,7 @@ #include <qmlexpression.h> #include <private/qobject_p.h> +#include <QtCore/qmetaobject.h> QT_BEGIN_NAMESPACE @@ -87,7 +88,8 @@ protected: private: QmlExpression *m_expression; - int m_idx; + QMetaMethod m_signal; + bool m_paramsValid; QmlBoundSignalParameters *m_params; }; |