diff options
author | Sandro S. Andrade <sandroandrade@kde.org> | 2012-12-10 18:28:43 +0000 |
---|---|---|
committer | Sandro S. Andrade <sandroandrade@kde.org> | 2012-12-10 21:30:12 +0100 |
commit | dfc136afe949ab4996363beff8d51ae42506cc88 (patch) | |
tree | 10dcead234092c10a5da3e27b55e4671146c4cbd /src/uml/qreadselfaction.cpp | |
parent | cd5a0d52808978dba9007fe1298de058a207312c (diff) |
Add separate lib QtWrappedObjects, update QtMof and QtUml accordingly
Change-Id: Ie435fb8457ee5c662c9cbb71e3421035bb4fa458
Reviewed-by: Sandro S. Andrade <sandroandrade@kde.org>
Diffstat (limited to 'src/uml/qreadselfaction.cpp')
-rw-r--r-- | src/uml/qreadselfaction.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/uml/qreadselfaction.cpp b/src/uml/qreadselfaction.cpp index 055fe341..bb39d650 100644 --- a/src/uml/qreadselfaction.cpp +++ b/src/uml/qreadselfaction.cpp @@ -63,12 +63,12 @@ QReadSelfActionPrivate::~QReadSelfActionPrivate() \brief A read self action is an action that retrieves the host object of an action. */ -QReadSelfAction::QReadSelfAction(QtMof::QMofObject *parent, QtMof::QMofObject *wrapper) : +QReadSelfAction::QReadSelfAction(QWrappedObject *parent, QWrappedObject *wrapper) : QAction(*new QReadSelfActionPrivate, parent, wrapper) { } -QReadSelfAction::QReadSelfAction(QReadSelfActionPrivate &dd, QtMof::QMofObject *parent, QtMof::QMofObject *wrapper) : +QReadSelfAction::QReadSelfAction(QReadSelfActionPrivate &dd, QWrappedObject *parent, QWrappedObject *wrapper) : QAction(dd, parent, wrapper) { } @@ -99,13 +99,13 @@ void QReadSelfAction::setResult(QOutputPin *result) Q_D(QReadSelfAction); if (d->result != result) { // Adjust subsetted property(ies) - (qmofobject_cast<QActionPrivate *>(d))->removeOutput(qmofobject_cast<QOutputPin *>(d->result)); + (qwrappedobject_cast<QActionPrivate *>(d))->removeOutput(qwrappedobject_cast<QOutputPin *>(d->result)); d->result = result; // Adjust subsetted property(ies) if (result) { - (qmofobject_cast<QActionPrivate *>(d))->addOutput(qmofobject_cast<QOutputPin *>(result)); + (qwrappedobject_cast<QActionPrivate *>(d))->addOutput(qwrappedobject_cast<QOutputPin *>(result)); } } } |