Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tobias Hunger
qt-creator
Commits
0c27e128
Commit
0c27e128
authored
May 06, 2011
by
Daniel Molkentin
Browse files
Fix compilation
parent
9a924aed
Changes
7
Hide whitespace changes
Inline
Side-by-side
src/plugins/qmldesigner/designercore/include/nodeinstanceserverinterface.h
View file @
0c27e128
...
...
@@ -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
();
};
...
...
src/plugins/qmldesigner/designercore/instances/nodeinstanceclientproxy.cpp
View file @
0c27e128
...
...
@@ -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
);
}
...
...
src/plugins/qmldesigner/designercore/instances/nodeinstanceclientproxy.h
View file @
0c27e128
...
...
@@ -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
();
...
...
src/plugins/qmldesigner/designercore/instances/nodeinstanceserver.cpp
View file @
0c27e128
...
...
@@ -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
());
...
...
src/plugins/qmldesigner/designercore/instances/nodeinstanceserver.h
View file @
0c27e128
...
...
@@ -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
;
...
...
src/plugins/qmldesigner/designercore/instances/nodeinstanceserverproxy.cpp
View file @
0c27e128
...
...
@@ -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
));
}
...
...
src/plugins/qmldesigner/designercore/instances/nodeinstanceserverproxy.h
View file @
0c27e128
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment