Commit 93c94d65 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh

QmlPuppet: Pass const strings by reference

Change-Id: I6bf60d6484f13817dcbe36a4bfc099f3edf7559c
Reviewed-by: default avatarMarco Bubke <marco.bubke@digia.com>
parent 27cbc89c
......@@ -235,7 +235,7 @@ void Qt5InformationNodeInstanceServer::createScene(const CreateSceneCommand &com
}
void Qt5InformationNodeInstanceServer::sendChildrenChangedCommand(const QList<ServerNodeInstance> childList)
void Qt5InformationNodeInstanceServer::sendChildrenChangedCommand(const QList<ServerNodeInstance> &childList)
{
QSet<ServerNodeInstance> parentSet;
QList<ServerNodeInstance> noParentList;
......
......@@ -50,7 +50,7 @@ public:
protected:
void collectItemChangesAndSendChangeCommands() Q_DECL_OVERRIDE;
void sendChildrenChangedCommand(const QList<ServerNodeInstance> childList);
void sendChildrenChangedCommand(const QList<ServerNodeInstance> &childList);
void sendTokenBack();
bool isDirtyRecursiveForNonInstanceItems(QQuickItem *item) const;
bool isDirtyRecursiveForParentInstances(QQuickItem *item) const;
......
......@@ -307,7 +307,7 @@ void QmlDesigner::Qt5TestNodeInstanceServer::collectItemChangesAndSendChangeComm
}
}
void Qt5TestNodeInstanceServer::sendChildrenChangedCommand(const QList<ServerNodeInstance> childList)
void Qt5TestNodeInstanceServer::sendChildrenChangedCommand(const QList<ServerNodeInstance> &childList)
{
QSet<ServerNodeInstance> parentSet;
QList<ServerNodeInstance> noParentList;
......
......@@ -61,7 +61,7 @@ public:
protected:
void collectItemChangesAndSendChangeCommands() Q_DECL_OVERRIDE;
void sendChildrenChangedCommand(const QList<ServerNodeInstance> childList);
void sendChildrenChangedCommand(const QList<ServerNodeInstance> &childList);
bool isDirtyRecursiveForNonInstanceItems(QQuickItem *item) const;
};
......
......@@ -234,7 +234,7 @@ void Qt4InformationNodeInstanceServer::createScene(const CreateSceneCommand &com
}
void Qt4InformationNodeInstanceServer::sendChildrenChangedCommand(const QList<ServerNodeInstance> childList)
void Qt4InformationNodeInstanceServer::sendChildrenChangedCommand(const QList<ServerNodeInstance> &childList)
{
QSet<ServerNodeInstance> parentSet;
QList<ServerNodeInstance> noParentList;
......
......@@ -50,7 +50,7 @@ public:
protected:
void collectItemChangesAndSendChangeCommands();
void sendChildrenChangedCommand(const QList<ServerNodeInstance> childList);
void sendChildrenChangedCommand(const QList<ServerNodeInstance> &childList);
void sendTokenBack();
private:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment