diff options
author | Marco Bubke <marco.bubke@digia.com> | 2013-07-16 17:00:07 +0200 |
---|---|---|
committer | Thomas Hartmann <Thomas.Hartmann@digia.com> | 2013-07-16 17:04:31 +0200 |
commit | 0ba2b9b37d745107926e13cf7e241c5351229966 (patch) | |
tree | 892e4e2a740c5f59a1f000f12c3ce58236afa9f7 /share/qtcreator/qml/qmlpuppet/commands/createscenecommand.cpp | |
parent | 8f22b84016021733c0b968d481ff65e21870dea4 (diff) | |
download | qt-creator-0ba2b9b37d745107926e13cf7e241c5351229966.tar.gz |
QmlDesigner: Add qdebugs for commands
Change-Id: I60bdd5b36749be5092d4dabe486b101d62b3df06
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
Diffstat (limited to 'share/qtcreator/qml/qmlpuppet/commands/createscenecommand.cpp')
-rw-r--r-- | share/qtcreator/qml/qmlpuppet/commands/createscenecommand.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/share/qtcreator/qml/qmlpuppet/commands/createscenecommand.cpp b/share/qtcreator/qml/qmlpuppet/commands/createscenecommand.cpp index 8f471400e1..87bad4b54c 100644 --- a/share/qtcreator/qml/qmlpuppet/commands/createscenecommand.cpp +++ b/share/qtcreator/qml/qmlpuppet/commands/createscenecommand.cpp @@ -29,6 +29,8 @@ #include "createscenecommand.h" +#include <QDebug> + namespace QmlDesigner { CreateSceneCommand::CreateSceneCommand() @@ -122,4 +124,17 @@ QDataStream &operator>>(QDataStream &in, CreateSceneCommand &command) return in; } +QDebug operator <<(QDebug debug, const CreateSceneCommand &command) +{ + return debug.nospace() << "CreateSceneCommand(" + << "instances: " << command.instances() << ", " + << "reparentInstances: " << command.reparentInstances() << ", " + << "ids: " << command.ids() << ", " + << "valueChanges: " << command.valueChanges() << ", " + << "bindingChanges: " << command.bindingChanges() << ", " + << "auxiliaryChanges: " << command.auxiliaryChanges() << ", " + << "imports: " << command.imports() << ", " + << "fileUrl: " << command.fileUrl() << ")"; +} + } |