forked from qt-creator/qt-creator
Fix compilation
This commit is contained in:
@@ -80,7 +80,7 @@ public:
|
|||||||
virtual void changeState(const ChangeStateCommand &command) = 0;
|
virtual void changeState(const ChangeStateCommand &command) = 0;
|
||||||
virtual void addImport(const AddImportCommand &command) = 0;
|
virtual void addImport(const AddImportCommand &command) = 0;
|
||||||
virtual void completeComponent(const CompleteComponentCommand &command) = 0;
|
virtual void completeComponent(const CompleteComponentCommand &command) = 0;
|
||||||
virtual void changeCustomParserSource(ChangeCustomParserSourceCommand &command) = 0;
|
virtual void changeCustomParserSource(const ChangeCustomParserSourceCommand &command) = 0;
|
||||||
|
|
||||||
static void registerCommands();
|
static void registerCommands();
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -264,7 +264,7 @@ void NodeInstanceClientProxy::completeComponent(const CompleteComponentCommand &
|
|||||||
nodeInstanceServer()->completeComponent(command);
|
nodeInstanceServer()->completeComponent(command);
|
||||||
}
|
}
|
||||||
|
|
||||||
void NodeInstanceClientProxy::changeCustomParserSource(ChangeCustomParserSourceCommand &command)
|
void NodeInstanceClientProxy::changeCustomParserSource(const ChangeCustomParserSourceCommand &command)
|
||||||
{
|
{
|
||||||
nodeInstanceServer()->changeCustomParserSource(command);
|
nodeInstanceServer()->changeCustomParserSource(command);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -97,7 +97,7 @@ protected:
|
|||||||
void changeState(const ChangeStateCommand &command);
|
void changeState(const ChangeStateCommand &command);
|
||||||
void addImport(const AddImportCommand &command);
|
void addImport(const AddImportCommand &command);
|
||||||
void completeComponent(const CompleteComponentCommand &command);
|
void completeComponent(const CompleteComponentCommand &command);
|
||||||
void changeCustomParserSource(ChangeCustomParserSourceCommand &command);
|
void changeCustomParserSource(const ChangeCustomParserSourceCommand &command);
|
||||||
|
|
||||||
private slots:
|
private slots:
|
||||||
void readDataStream();
|
void readDataStream();
|
||||||
|
|||||||
@@ -346,7 +346,7 @@ void NodeInstanceServer::completeComponent(const CompleteComponentCommand &comma
|
|||||||
startRenderTimer();
|
startRenderTimer();
|
||||||
}
|
}
|
||||||
|
|
||||||
void NodeInstanceServer::changeCustomParserSource(ChangeCustomParserSourceCommand &command)
|
void NodeInstanceServer::changeCustomParserSource(const ChangeCustomParserSourceCommand &command)
|
||||||
{
|
{
|
||||||
if (hasInstanceForId(command.instanceId())) {
|
if (hasInstanceForId(command.instanceId())) {
|
||||||
ServerNodeInstance instance = instanceForId(command.instanceId());
|
ServerNodeInstance instance = instanceForId(command.instanceId());
|
||||||
|
|||||||
@@ -90,7 +90,7 @@ public:
|
|||||||
void changeState(const ChangeStateCommand &command);
|
void changeState(const ChangeStateCommand &command);
|
||||||
void addImport(const AddImportCommand &command);
|
void addImport(const AddImportCommand &command);
|
||||||
void completeComponent(const CompleteComponentCommand &command);
|
void completeComponent(const CompleteComponentCommand &command);
|
||||||
void changeCustomParserSource(ChangeCustomParserSourceCommand &command);
|
void changeCustomParserSource(const ChangeCustomParserSourceCommand &command);
|
||||||
|
|
||||||
ServerNodeInstance instanceForId(qint32 id) const;
|
ServerNodeInstance instanceForId(qint32 id) const;
|
||||||
bool hasInstanceForId(qint32 id) const;
|
bool hasInstanceForId(qint32 id) const;
|
||||||
|
|||||||
@@ -453,7 +453,7 @@ void NodeInstanceServerProxy::completeComponent(const CompleteComponentCommand &
|
|||||||
writeCommand(QVariant::fromValue(command));
|
writeCommand(QVariant::fromValue(command));
|
||||||
}
|
}
|
||||||
|
|
||||||
void NodeInstanceServerProxy::changeCustomParserSource(ChangeCustomParserSourceCommand &command)
|
void NodeInstanceServerProxy::changeCustomParserSource(const ChangeCustomParserSourceCommand &command)
|
||||||
{
|
{
|
||||||
writeCommand(QVariant::fromValue(command));
|
writeCommand(QVariant::fromValue(command));
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -70,7 +70,7 @@ public:
|
|||||||
void changeState(const ChangeStateCommand &command);
|
void changeState(const ChangeStateCommand &command);
|
||||||
void addImport(const AddImportCommand &command);
|
void addImport(const AddImportCommand &command);
|
||||||
void completeComponent(const CompleteComponentCommand &command);
|
void completeComponent(const CompleteComponentCommand &command);
|
||||||
void changeCustomParserSource(ChangeCustomParserSourceCommand &command);
|
void changeCustomParserSource(const ChangeCustomParserSourceCommand &command);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void writeCommand(const QVariant &command);
|
void writeCommand(const QVariant &command);
|
||||||
|
|||||||
Reference in New Issue
Block a user