aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmldesigner/designercore/instances/idcontainer.cpp
diff options
context:
space:
mode:
authorMarco Bubke <marco.bubke@nokia.com>2011-06-09 15:50:48 +0200
committerThomas Hartmann <Thomas.Hartmann@nokia.com>2011-06-09 16:07:28 +0200
commitd103bb7a60e488c816cb5618d4e763d50251385f (patch)
treeb4be67870390c352c4203d507177efc43ea36604 /src/plugins/qmldesigner/designercore/instances/idcontainer.cpp
parent74f1c2e2772d6581423e3961e824f5ca589a514c (diff)
QmlDesigner.NodeInstances: Support for Qt five scene graph
QmlPuppet only supported GraphicsView. There is now Qml2Puppet which is supporting the new Qt Scene Graph. Change-Id: Ia0a06639cf6852192e84f7bfc2bea60532890b08 Reviewed-on: http://codereview.qt.nokia.com/433 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
Diffstat (limited to 'src/plugins/qmldesigner/designercore/instances/idcontainer.cpp')
-rw-r--r--src/plugins/qmldesigner/designercore/instances/idcontainer.cpp73
1 files changed, 0 insertions, 73 deletions
diff --git a/src/plugins/qmldesigner/designercore/instances/idcontainer.cpp b/src/plugins/qmldesigner/designercore/instances/idcontainer.cpp
deleted file mode 100644
index 6c71251541..0000000000
--- a/src/plugins/qmldesigner/designercore/instances/idcontainer.cpp
+++ /dev/null
@@ -1,73 +0,0 @@
-/**************************************************************************
-**
-** This file is part of Qt Creator
-**
-** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-**
-** Contact: Nokia Corporation (info@qt.nokia.com)
-**
-**
-** 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.
-**
-** 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.
-**
-** If you have questions regarding the use of this file, please contact
-** Nokia at info@qt.nokia.com.
-**
-**************************************************************************/
-
-#include "idcontainer.h"
-
-namespace QmlDesigner {
-
-IdContainer::IdContainer()
- : m_instanceId(-1)
-{
-}
-
-IdContainer::IdContainer(qint32 instanceId, const QString &id)
- : m_instanceId(instanceId),
- m_id(id)
-{
-}
-
-qint32 IdContainer::instanceId() const
-{
- return m_instanceId;
-}
-
-QString IdContainer::id() const
-{
- return m_id;
-}
-
-QDataStream &operator<<(QDataStream &out, const IdContainer &container)
-{
- out << container.instanceId();
- out << container.id();
-
- return out;
-}
-
-QDataStream &operator>>(QDataStream &in, IdContainer &container)
-{
- in >> container.m_instanceId;
- in >> container.m_id;
-
- return in;
-}
-} // namespace QmlDesigner