Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Q
qt-creator
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Tobias Hunger
qt-creator
Commits
baab8976
Commit
baab8976
authored
14 years ago
by
hjk
Browse files
Options
Downloads
Patches
Plain Diff
debugger: QmlEngine: rename master/slave into cpp/qml
parent
ae46124a
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/plugins/debugger/qml/qmlcppengine.cpp
+6
-9
6 additions, 9 deletions
src/plugins/debugger/qml/qmlcppengine.cpp
src/plugins/debugger/qml/qmlcppengine.h
+2
-2
2 additions, 2 deletions
src/plugins/debugger/qml/qmlcppengine.h
with
8 additions
and
11 deletions
src/plugins/debugger/qml/qmlcppengine.cpp
+
6
−
9
View file @
baab8976
...
@@ -71,9 +71,9 @@ QmlCppEngine::QmlCppEngine(const DebuggerStartParameters &sp)
...
@@ -71,9 +71,9 @@ QmlCppEngine::QmlCppEngine(const DebuggerStartParameters &sp)
d
->
m_activeEngine
=
d
->
m_cppEngine
;
d
->
m_activeEngine
=
d
->
m_cppEngine
;
connect
(
d
->
m_cppEngine
,
SIGNAL
(
stateChanged
(
DebuggerState
)),
connect
(
d
->
m_cppEngine
,
SIGNAL
(
stateChanged
(
DebuggerState
)),
SLOT
(
master
EngineStateChanged
(
DebuggerState
)));
SLOT
(
cpp
EngineStateChanged
(
DebuggerState
)));
connect
(
d
->
m_qmlEngine
,
SIGNAL
(
stateChanged
(
DebuggerState
)),
connect
(
d
->
m_qmlEngine
,
SIGNAL
(
stateChanged
(
DebuggerState
)),
SLOT
(
slave
EngineStateChanged
(
DebuggerState
)));
SLOT
(
qml
EngineStateChanged
(
DebuggerState
)));
connect
(
Core
::
EditorManager
::
instance
(),
connect
(
Core
::
EditorManager
::
instance
(),
SIGNAL
(
currentEditorChanged
(
Core
::
IEditor
*
)),
SIGNAL
(
currentEditorChanged
(
Core
::
IEditor
*
)),
...
@@ -528,23 +528,20 @@ void QmlCppEngine::setupSlaveEngine()
...
@@ -528,23 +528,20 @@ void QmlCppEngine::setupSlaveEngine()
d
->
m_qmlEngine
->
startDebugger
(
runControl
());
d
->
m_qmlEngine
->
startDebugger
(
runControl
());
}
}
void
QmlCppEngine
::
master
EngineStateChanged
(
const
DebuggerState
&
newState
)
void
QmlCppEngine
::
cpp
EngineStateChanged
(
const
DebuggerState
&
newState
)
{
{
if
(
newState
==
InferiorStopOk
)
{
if
(
newState
==
InferiorStopOk
)
setActiveEngine
(
CppLanguage
);
setActiveEngine
(
CppLanguage
);
}
engineStateChanged
(
newState
);
engineStateChanged
(
newState
);
}
}
void
QmlCppEngine
::
slave
EngineStateChanged
(
const
DebuggerState
&
newState
)
void
QmlCppEngine
::
qml
EngineStateChanged
(
const
DebuggerState
&
newState
)
{
{
if
(
newState
==
InferiorStopOk
)
{
if
(
newState
==
InferiorStopOk
)
setActiveEngine
(
QmlLanguage
);
setActiveEngine
(
QmlLanguage
);
}
engineStateChanged
(
newState
);
engineStateChanged
(
newState
);
}
}
void
QmlCppEngine
::
engineStateChanged
(
const
DebuggerState
&
newState
)
void
QmlCppEngine
::
engineStateChanged
(
const
DebuggerState
&
newState
)
{
{
switch
(
newState
)
{
switch
(
newState
)
{
...
...
This diff is collapsed.
Click to expand it.
src/plugins/debugger/qml/qmlcppengine.h
+
2
−
2
View file @
baab8976
...
@@ -104,8 +104,8 @@ protected:
...
@@ -104,8 +104,8 @@ protected:
virtual
void
shutdownEngine
();
virtual
void
shutdownEngine
();
private
slots
:
private
slots
:
void
master
EngineStateChanged
(
const
DebuggerState
&
state
);
void
cpp
EngineStateChanged
(
const
DebuggerState
&
state
);
void
slave
EngineStateChanged
(
const
DebuggerState
&
state
);
void
qml
EngineStateChanged
(
const
DebuggerState
&
state
);
void
setupSlaveEngine
();
void
setupSlaveEngine
();
void
editorChanged
(
Core
::
IEditor
*
editor
);
void
editorChanged
(
Core
::
IEditor
*
editor
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment