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<ImageContainer> PixmapChangedCommand::images() const
return m_imageVector;
}
void PixmapChangedCommand::sort()
{
qSort(m_imageVector);
}
QDataStream &operator<<(QDataStream &out, const PixmapChangedCommand &command)
{
out << command.images();
@@ -63,4 +68,9 @@ QDataStream &operator>>(QDataStream &in, PixmapChangedCommand &command)
return in;
}
bool operator ==(const PixmapChangedCommand &first, const PixmapChangedCommand &second)
{
return first.m_imageVector == second.m_imageVector;
}
} // namespace QmlDesigner