diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2010-04-22 05:59:29 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2010-04-22 23:46:03 (GMT) |
commit | 5fc042155015f39b1c26ac7700e7d1b6346e79e2 (patch) | |
tree | c47fbaacbb0fcc08d12317a84a1994afa6950f2c /src/declarative/qml/qdeclarativeexpression.h | |
parent | 05873d7662947ef59f429f5e3b63c1b7a3d71cd3 (diff) | |
download | Qt-5fc042155015f39b1c26ac7700e7d1b6346e79e2.zip Qt-5fc042155015f39b1c26ac7700e7d1b6346e79e2.tar.gz Qt-5fc042155015f39b1c26ac7700e7d1b6346e79e2.tar.bz2 |
Use Q_DECLARE_PRIVATE for private slot.
Diffstat (limited to 'src/declarative/qml/qdeclarativeexpression.h')
-rw-r--r-- | src/declarative/qml/qdeclarativeexpression.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/declarative/qml/qdeclarativeexpression.h b/src/declarative/qml/qdeclarativeexpression.h index c283dd9..6c72e4d 100644 --- a/src/declarative/qml/qdeclarativeexpression.h +++ b/src/declarative/qml/qdeclarativeexpression.h @@ -97,13 +97,12 @@ protected: QDeclarativeExpression(QDeclarativeContextData *, void *, QDeclarativeRefCount *rc, QObject *me, const QString &, int, QDeclarativeExpressionPrivate &dd); -private Q_SLOTS: - void __q_notify(); - private: QDeclarativeExpression(QDeclarativeContextData *, const QString &, QObject *); + Q_DISABLE_COPY(QDeclarativeExpression) Q_DECLARE_PRIVATE(QDeclarativeExpression) + Q_PRIVATE_SLOT(d_func(), void _q_notify()) friend class QDeclarativeDebugger; friend class QDeclarativeContext; friend class QDeclarativeVME; |