Fix compilation

This commit is contained in:
Daniel Molkentin
2011-05-06 14:25:34 +02:00
parent 9a924aed44
commit 0c27e12824
7 changed files with 7 additions and 7 deletions

View File

@@ -80,7 +80,7 @@ public:
virtual void changeState(const ChangeStateCommand &command) = 0;
virtual void addImport(const AddImportCommand &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();
};

View File

@@ -264,7 +264,7 @@ void NodeInstanceClientProxy::completeComponent(const CompleteComponentCommand &
nodeInstanceServer()->completeComponent(command);
}
void NodeInstanceClientProxy::changeCustomParserSource(ChangeCustomParserSourceCommand &command)
void NodeInstanceClientProxy::changeCustomParserSource(const ChangeCustomParserSourceCommand &command)
{
nodeInstanceServer()->changeCustomParserSource(command);
}

View File

@@ -97,7 +97,7 @@ protected:
void changeState(const ChangeStateCommand &command);
void addImport(const AddImportCommand &command);
void completeComponent(const CompleteComponentCommand &command);
void changeCustomParserSource(ChangeCustomParserSourceCommand &command);
void changeCustomParserSource(const ChangeCustomParserSourceCommand &command);
private slots:
void readDataStream();

View File

@@ -346,7 +346,7 @@ void NodeInstanceServer::completeComponent(const CompleteComponentCommand &comma
startRenderTimer();
}
void NodeInstanceServer::changeCustomParserSource(ChangeCustomParserSourceCommand &command)
void NodeInstanceServer::changeCustomParserSource(const ChangeCustomParserSourceCommand &command)
{
if (hasInstanceForId(command.instanceId())) {
ServerNodeInstance instance = instanceForId(command.instanceId());

View File

@@ -90,7 +90,7 @@ public:
void changeState(const ChangeStateCommand &command);
void addImport(const AddImportCommand &command);
void completeComponent(const CompleteComponentCommand &command);
void changeCustomParserSource(ChangeCustomParserSourceCommand &command);
void changeCustomParserSource(const ChangeCustomParserSourceCommand &command);
ServerNodeInstance instanceForId(qint32 id) const;
bool hasInstanceForId(qint32 id) const;

View File

@@ -453,7 +453,7 @@ void NodeInstanceServerProxy::completeComponent(const CompleteComponentCommand &
writeCommand(QVariant::fromValue(command));
}
void NodeInstanceServerProxy::changeCustomParserSource(ChangeCustomParserSourceCommand &command)
void NodeInstanceServerProxy::changeCustomParserSource(const ChangeCustomParserSourceCommand &command)
{
writeCommand(QVariant::fromValue(command));
}

View File

@@ -70,7 +70,7 @@ public:
void changeState(const ChangeStateCommand &command);
void addImport(const AddImportCommand &command);
void completeComponent(const CompleteComponentCommand &command);
void changeCustomParserSource(ChangeCustomParserSourceCommand &command);
void changeCustomParserSource(const ChangeCustomParserSourceCommand &command);
protected:
void writeCommand(const QVariant &command);