Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
f343cc4b
Commit
f343cc4b
authored
Sep 27, 2010
by
Kai Koehne
Browse files
QmlJSDebugger: Update API to changes in QDeclarativeEngine
Reviewed-by: Christiaan Janssen
parent
141ca588
Changes
4
Hide whitespace changes
Inline
Side-by-side
share/qtcreator/qml/qmljsdebugger/include/jsdebuggeragent.h
View file @
f343cc4b
...
...
@@ -103,7 +103,7 @@ public:
const
QVariant
&
argument
=
QVariant
());
void
messageReceived
(
const
QByteArray
&
);
void
enabled
Changed
(
bool
);
void
status
Changed
(
Status
status
);
public
slots
:
// void pauses();
...
...
share/qtcreator/qml/qmljsdebugger/include/qdeclarativeobserverservice.h
View file @
f343cc4b
...
...
@@ -98,7 +98,7 @@ Q_SIGNALS:
void
clearComponentCacheRequested
();
protected:
virtual
void
enabled
Changed
(
bool
enabled
);
virtual
void
status
Changed
(
Status
status
);
virtual
void
messageReceived
(
const
QByteArray
&
);
private:
...
...
share/qtcreator/qml/qmljsdebugger/jsdebuggeragent.cpp
View file @
f343cc4b
...
...
@@ -511,9 +511,10 @@ void JSDebuggerAgent::continueExec()
loop
.
quit
();
}
void
JSDebuggerAgent
::
enabled
Changed
(
bool
on
)
void
JSDebuggerAgent
::
status
Changed
(
Status
status
)
{
engine
()
->
setAgent
(
on
?
this
:
0
);
engine
()
->
setAgent
((
status
==
QDeclarativeDebugService
::
Enabled
)
?
this
:
0
);
}
}
// namespace QmlJSDebugger
share/qtcreator/qml/qmljsdebugger/qdeclarativeobserverservice.cpp
View file @
f343cc4b
...
...
@@ -60,9 +60,9 @@ QDeclarativeObserverService *QDeclarativeObserverService::instance()
return
serviceInstance
();
}
void
QDeclarativeObserverService
::
enabled
Changed
(
bool
enabled
)
void
QDeclarativeObserverService
::
status
Changed
(
Status
status
)
{
emit
debuggingClientChanged
(
e
nabled
);
emit
debuggingClientChanged
(
(
status
==
E
nabled
)
)
;
}
void
QDeclarativeObserverService
::
messageReceived
(
const
QByteArray
&
message
)
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment