summaryrefslogtreecommitdiff
path: root/share/qtcreator/qml/qmlpuppet/commands/childrenchangedcommand.h
diff options
context:
space:
mode:
authorThomas Hartmann <Thomas.Hartmann@nokia.com>2011-06-30 17:30:17 +0200
committerThomas Hartmann <Thomas.Hartmann@nokia.com>2011-06-30 17:36:09 +0200
commit3cfa37624395d23d48fddb7e91e83168fe1dfc3f (patch)
treede29095349cbc510f79a5470ea89450af77ea6c7 /share/qtcreator/qml/qmlpuppet/commands/childrenchangedcommand.h
parentb18ef1ffb240506368459845fe1b9e932a49b44c (diff)
downloadqt-creator-3cfa37624395d23d48fddb7e91e83168fe1dfc3f.tar.gz
QmlDesigner: Fix wrong position for reparenting
Change-Id: Ie9d9a739e559d5cfc06849ff3e5c086e9ab2224c DoneBy: Marco Bubke Task-number: QTCREATORBUG-3962 Reviewed-on: http://codereview.qt.nokia.com/958 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
Diffstat (limited to 'share/qtcreator/qml/qmlpuppet/commands/childrenchangedcommand.h')
-rw-r--r--share/qtcreator/qml/qmlpuppet/commands/childrenchangedcommand.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/share/qtcreator/qml/qmlpuppet/commands/childrenchangedcommand.h b/share/qtcreator/qml/qmlpuppet/commands/childrenchangedcommand.h
index 8441c852a1..e89d88a4a0 100644
--- a/share/qtcreator/qml/qmlpuppet/commands/childrenchangedcommand.h
+++ b/share/qtcreator/qml/qmlpuppet/commands/childrenchangedcommand.h
@@ -35,7 +35,7 @@
#include <QMetaType>
#include <QVector>
-
+#include "informationcontainer.h"
namespace QmlDesigner {
@@ -44,14 +44,16 @@ class ChildrenChangedCommand
friend QDataStream &operator>>(QDataStream &in, ChildrenChangedCommand &command);
public:
ChildrenChangedCommand();
- ChildrenChangedCommand(qint32 parentInstanceId, const QVector<qint32> &childrenInstances);
+ ChildrenChangedCommand(qint32 parentInstanceId, const QVector<qint32> &childrenInstancesconst, const QVector<InformationContainer> &informationVector);
QVector<qint32> childrenInstances() const;
qint32 parentInstanceId() const;
+ QVector<InformationContainer> informations() const;
private:
qint32 m_parentInstanceId;
QVector<qint32> m_childrenVector;
+ QVector<InformationContainer> m_informationVector;
};
QDataStream &operator<<(QDataStream &out, const ChildrenChangedCommand &command);