forked from qt-creator/qt-creator
QmlDesigner: Test mode for qml puppet streams
Change-Id: I93128c60892900d6b4728569b84efb0ed835b51f Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
This commit is contained in:
@@ -67,6 +67,11 @@ void ValuesChangedCommand::removeSharedMemorys(const QVector<qint32> &keyNumberV
|
||||
}
|
||||
}
|
||||
|
||||
void ValuesChangedCommand::sort()
|
||||
{
|
||||
qSort(m_valueChangeVector);
|
||||
}
|
||||
|
||||
static const QLatin1String valueKeyTemplateString("Values-%1");
|
||||
|
||||
static QSharedMemory *createSharedMemory(qint32 key, int byteCount)
|
||||
@@ -142,4 +147,9 @@ QDataStream &operator>>(QDataStream &in, ValuesChangedCommand &command)
|
||||
return in;
|
||||
}
|
||||
|
||||
bool operator ==(const ValuesChangedCommand &first, const ValuesChangedCommand &second)
|
||||
{
|
||||
return first.m_valueChangeVector == second.m_valueChangeVector;
|
||||
}
|
||||
|
||||
} // namespace QmlDesigner
|
||||
|
Reference in New Issue
Block a user