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:
@@ -446,7 +446,7 @@ QPair<PropertyName, ServerNodeInstance> ServerNodeInstance::anchor(const Propert
|
||||
return m_nodeInstance->anchor(name);
|
||||
}
|
||||
|
||||
QDebug operator<<(QDebug debug, const ServerNodeInstance &instance)
|
||||
QDebug operator <<(QDebug debug, const ServerNodeInstance &instance)
|
||||
{
|
||||
if (instance.isValid()) {
|
||||
debug.nospace() << "ServerNodeInstance("
|
||||
@@ -466,11 +466,17 @@ uint qHash(const ServerNodeInstance &instance)
|
||||
return ::qHash(instance.instanceId());
|
||||
}
|
||||
|
||||
bool operator==(const ServerNodeInstance &first, const ServerNodeInstance &second)
|
||||
bool operator ==(const ServerNodeInstance &first, const ServerNodeInstance &second)
|
||||
{
|
||||
return first.instanceId() == second.instanceId();
|
||||
}
|
||||
|
||||
bool operator <(const ServerNodeInstance &first, const ServerNodeInstance &second)
|
||||
{
|
||||
return first.instanceId() < second.instanceId();
|
||||
}
|
||||
|
||||
|
||||
bool ServerNodeInstance::isWrappingThisObject(QObject *object) const
|
||||
{
|
||||
return internalObject() && internalObject() == object;
|
||||
|
||||
Reference in New Issue
Block a user