QmlDesigner: Test mode for qml puppet streams

Change-Id: I93128c60892900d6b4728569b84efb0ed835b51f
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
This commit is contained in:
Marco Bubke
2013-07-04 17:06:31 +02:00
parent 6312cc18e2
commit 90ce3aec8b
35 changed files with 836 additions and 72 deletions

View File

@@ -49,6 +49,11 @@ QVector<InformationContainer> InformationChangedCommand::informations() const
return m_informationVector;
}
void InformationChangedCommand::sort()
{
qSort(m_informationVector);
}
QDataStream &operator<<(QDataStream &out, const InformationChangedCommand &command)
{
out << command.informations();
@@ -63,4 +68,9 @@ QDataStream &operator>>(QDataStream &in, InformationChangedCommand &command)
return in;
}
bool operator ==(const InformationChangedCommand &first, const InformationChangedCommand &second)
{
return first.m_informationVector == second.m_informationVector;
}
} // namespace QmlDesigner