summaryrefslogtreecommitdiff
path: root/share/qtcreator/qml/qmlpuppet/commands/changenodesourcecommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'share/qtcreator/qml/qmlpuppet/commands/changenodesourcecommand.h')
-rw-r--r--share/qtcreator/qml/qmlpuppet/commands/changenodesourcecommand.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/share/qtcreator/qml/qmlpuppet/commands/changenodesourcecommand.h b/share/qtcreator/qml/qmlpuppet/commands/changenodesourcecommand.h
index 1ed45cd048..3de4d114cf 100644
--- a/share/qtcreator/qml/qmlpuppet/commands/changenodesourcecommand.h
+++ b/share/qtcreator/qml/qmlpuppet/commands/changenodesourcecommand.h
@@ -39,6 +39,8 @@ namespace QmlDesigner {
class ChangeNodeSourceCommand
{
friend QDataStream &operator>>(QDataStream &in, ChangeNodeSourceCommand &command);
+ friend QDebug operator <<(QDebug debug, const ChangeNodeSourceCommand &command);
+
public:
ChangeNodeSourceCommand();
explicit ChangeNodeSourceCommand(qint32 instanceId, const QString &nodeSource);
@@ -53,6 +55,8 @@ private:
QDataStream &operator<<(QDataStream &out, const ChangeNodeSourceCommand &command);
QDataStream &operator>>(QDataStream &in, ChangeNodeSourceCommand &command);
+QDebug operator <<(QDebug debug, const ChangeNodeSourceCommand &command);
+
} // namespace QmlDesigner
Q_DECLARE_METATYPE(QmlDesigner::ChangeNodeSourceCommand)