2022-08-19 15:59:36 +02:00
|
|
|
// Copyright (C) 2020 The Qt Company Ltd.
|
|
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0 WITH Qt-GPL-exception-1.0
|
2011-06-08 18:40:35 +02:00
|
|
|
|
2016-03-18 07:55:01 +01:00
|
|
|
#pragma once
|
2011-06-08 18:40:35 +02:00
|
|
|
|
2020-08-18 13:13:19 +02:00
|
|
|
#include <QDataStream>
|
|
|
|
|
#include <QDebug>
|
2011-06-08 18:40:35 +02:00
|
|
|
#include <QMetaType>
|
|
|
|
|
#include <QVector>
|
|
|
|
|
|
|
|
|
|
#include "propertyvaluecontainer.h"
|
|
|
|
|
|
|
|
|
|
namespace QmlDesigner {
|
|
|
|
|
|
|
|
|
|
class ChangeAuxiliaryCommand
|
|
|
|
|
{
|
|
|
|
|
public:
|
2020-08-18 13:13:19 +02:00
|
|
|
friend QDataStream &operator>>(QDataStream &in, ChangeAuxiliaryCommand &command)
|
|
|
|
|
{
|
|
|
|
|
in >> command.auxiliaryChanges;
|
|
|
|
|
return in;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
friend QDataStream &operator<<(QDataStream &out, const ChangeAuxiliaryCommand &command)
|
|
|
|
|
{
|
|
|
|
|
out << command.auxiliaryChanges;
|
|
|
|
|
return out;
|
|
|
|
|
}
|
2011-06-08 18:40:35 +02:00
|
|
|
|
2020-08-18 13:13:19 +02:00
|
|
|
friend QDebug operator <<(QDebug debug, const ChangeAuxiliaryCommand &command);
|
2011-06-08 18:40:35 +02:00
|
|
|
|
2020-08-18 13:13:19 +02:00
|
|
|
QVector<PropertyValueContainer> auxiliaryChanges;
|
2011-06-08 18:40:35 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
} // namespace QmlDesigner
|
|
|
|
|
|
|
|
|
|
Q_DECLARE_METATYPE(QmlDesigner::ChangeAuxiliaryCommand)
|