diff options
author | Joel Nordell <joel.nordell@chloridepower.com> | 2009-06-17 10:48:53 (GMT) |
---|---|---|
committer | Kent Hansen <khansen@trolltech.com> | 2009-06-17 10:48:53 (GMT) |
commit | e97b1187391e16208a2da0e4c7f9e6daa540aa93 (patch) | |
tree | 479306f67f4b66ac1ea926ad1755ae32de8613b1 /src/scripttools/debugging/qscriptdebugger.cpp | |
parent | 3a55f0eab402a72a0f98fdfe5505614fed5d19ed (diff) | |
download | Qt-e97b1187391e16208a2da0e4c7f9e6daa540aa93.zip Qt-e97b1187391e16208a2da0e4c7f9e6daa540aa93.tar.gz Qt-e97b1187391e16208a2da0e4c7f9e6daa540aa93.tar.bz2 |
add a state() function to QScriptEngineDebugger for determining whether the debu
gger is suspended or not
Merge-request: 555
Reviewed-by: Kent Hansen <khansen@trolltech.com>
Diffstat (limited to 'src/scripttools/debugging/qscriptdebugger.cpp')
-rw-r--r-- | src/scripttools/debugging/qscriptdebugger.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/scripttools/debugging/qscriptdebugger.cpp b/src/scripttools/debugging/qscriptdebugger.cpp index 9cca8ad..003121f 100644 --- a/src/scripttools/debugging/qscriptdebugger.cpp +++ b/src/scripttools/debugging/qscriptdebugger.cpp @@ -1946,6 +1946,12 @@ QToolBar *QScriptDebugger::createStandardToolBar(QWidget *widgetParent, QObject return tb; } +bool QScriptDebugger::isInteractive() const +{ + Q_D(const QScriptDebugger); + return d->interactive; +} + /*! \reimp */ |