summaryrefslogtreecommitdiff
path: root/share/qtcreator/qml/qmlpuppet/commands/drop3dlibraryitemcommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'share/qtcreator/qml/qmlpuppet/commands/drop3dlibraryitemcommand.h')
-rw-r--r--share/qtcreator/qml/qmlpuppet/commands/drop3dlibraryitemcommand.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/share/qtcreator/qml/qmlpuppet/commands/drop3dlibraryitemcommand.h b/share/qtcreator/qml/qmlpuppet/commands/drop3dlibraryitemcommand.h
index 1aa11a85f9..4bc36e1ebd 100644
--- a/share/qtcreator/qml/qmlpuppet/commands/drop3dlibraryitemcommand.h
+++ b/share/qtcreator/qml/qmlpuppet/commands/drop3dlibraryitemcommand.h
@@ -41,13 +41,15 @@ class Drop3DLibraryItemCommand
const Drop3DLibraryItemCommand &second);
public:
- explicit Drop3DLibraryItemCommand(const QByteArray &itemData);
+ explicit Drop3DLibraryItemCommand(const QByteArray &itemData, qint32 sceneRootId);
Drop3DLibraryItemCommand() = default;
QByteArray itemData() const { return m_itemData; }
+ qint32 sceneRootId() const { return m_sceneRootId; }
private:
QByteArray m_itemData;
+ qint32 m_sceneRootId;
};
QDataStream &operator<<(QDataStream &out, const Drop3DLibraryItemCommand &command);