diff options
author | Sandro S. Andrade <sandroandrade@kde.org> | 2013-03-08 17:20:31 -0300 |
---|---|---|
committer | Sandro S. Andrade <sandroandrade@kde.org> | 2013-03-08 21:21:35 +0100 |
commit | 56fcc7521b3087eb8867806fd7baf11676359ad5 (patch) | |
tree | 28af312c532ffb7eb639b0364dc14521b45f1f9f /src/uml/qumloutputpin.cpp | |
parent | fa4d83d5343f3b54b8acf0619a2852ffff0e688c (diff) |
Add major refactoring for namespace-free model implementation
Rationale:
- MOC needs a explicit namespace use in order to auto declare
meta objects
- However, syncqt does not generate iheaders if namespaces are
used
Change-Id: Ic66152b469b2610624025b9a76380360d581f857
Reviewed-by: Sandro S. Andrade <sandroandrade@kde.org>
Diffstat (limited to 'src/uml/qumloutputpin.cpp')
-rw-r--r-- | src/uml/qumloutputpin.cpp | 89 |
1 files changed, 89 insertions, 0 deletions
diff --git a/src/uml/qumloutputpin.cpp b/src/uml/qumloutputpin.cpp new file mode 100644 index 00000000..f0234726 --- /dev/null +++ b/src/uml/qumloutputpin.cpp @@ -0,0 +1,89 @@ +/**************************************************************************** +** +** Copyright (C) 2012 Sandro S. Andrade <sandroandrade@kde.org> +** Contact: http://www.qt-project.org/ +** +** This file is part of the QtUml module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** GNU Lesser General Public License Usage +** This file may be used under the terms of the GNU Lesser General Public +** License version 2.1 as published by the Free Software Foundation and +** appearing in the file LICENSE.LGPL included in the packaging of this +** file. Please review the following information to ensure the GNU Lesser +** General Public License version 2.1 requirements will be met: +** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +** +** In addition, as a special exception, Nokia gives you certain additional +** rights. These rights are described in the Nokia Qt LGPL Exception +** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU General +** Public License version 3.0 as published by the Free Software Foundation +** and appearing in the file LICENSE.GPL included in the packaging of this +** file. Please review the following information to ensure the GNU General +** Public License version 3.0 requirements will be met: +** http://www.gnu.org/copyleft/gpl.html. +** +** Other Usage +** Alternatively, this file may be used in accordance with the terms and +** conditions contained in a signed written agreement between you and Nokia. +** +** +** +** +** +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +#include "qumloutputpin.h" +#include "qumloutputpin_p.h" + +#include <QtWrappedObjects/QtWrappedObjectsNamespace> + +QT_BEGIN_NAMESPACE + +QUmlOutputPinPrivate::QUmlOutputPinPrivate() +{ +} + +QUmlOutputPinPrivate::~QUmlOutputPinPrivate() +{ +} + +/*! + \class QUmlOutputPin + + \inmodule QtUml + + \brief An output pin is a pin that holds output values produced by an action. + */ + +QUmlOutputPin::QUmlOutputPin(QWrappedObject *wrapper, QWrappedObject *parent) : + QUmlPin(*new QUmlOutputPinPrivate, wrapper, parent) +{ + setPropertyData(); +} + +QUmlOutputPin::QUmlOutputPin(QUmlOutputPinPrivate &dd, QWrappedObject *wrapper, QWrappedObject *parent) : + QUmlPin(dd, wrapper, parent) +{ + setPropertyData(); +} + +QUmlOutputPin::~QUmlOutputPin() +{ +} + +void QUmlOutputPin::setPropertyData() +{ + QUmlPin::setPropertyData(); +} + +QT_END_NAMESPACE + +#include "moc_qumloutputpin.cpp" + |