aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlboundsignal_p.h
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2012-03-21 16:28:32 +1000
committerQt by Nokia <qt-info@nokia.com>2012-03-26 07:24:29 +0200
commitfa3ef5376acc69b147718f49eddb842fdd5d2dd2 (patch)
treea9757d4739982ca784053142e1312acc1064727a /src/qml/qml/qqmlboundsignal_p.h
parenta329f246c02e2579f6a559c05240f63f0b5d5d3c (diff)
Use QQmlAbstractBoundSignal where appropriate.
Prepare for the addition of another subclass. Change-Id: I340f735503e661d9d735f3316a065f807294921b Reviewed-by: Chris Adams <christopher.adams@nokia.com>
Diffstat (limited to 'src/qml/qml/qqmlboundsignal_p.h')
-rw-r--r--src/qml/qml/qqmlboundsignal_p.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/qml/qml/qqmlboundsignal_p.h b/src/qml/qml/qqmlboundsignal_p.h
index 11386159cb..ab14de018d 100644
--- a/src/qml/qml/qqmlboundsignal_p.h
+++ b/src/qml/qml/qqmlboundsignal_p.h
@@ -67,6 +67,10 @@ class Q_QML_EXPORT QQmlAbstractBoundSignal : public QObject
public:
QQmlAbstractBoundSignal(QObject *parent = 0);
virtual ~QQmlAbstractBoundSignal() = 0;
+
+ virtual int index() const = 0;
+ virtual QQmlExpression *expression() const = 0;
+ virtual QQmlExpression *setExpression(QQmlExpression *) = 0;
};
class QQmlBoundSignalParameters;
@@ -85,8 +89,6 @@ public:
bool isEvaluating() const { return m_isEvaluating; }
- static QQmlBoundSignal *cast(QObject *);
-
protected:
virtual int qt_metacall(QMetaObject::Call c, int id, void **a);