QmlDebugger: Refactor QML Signal Handler

Refactor QML Signal Handler to QML Signal Emit. This is because the
debugger breaks when a matching signal is emitted irrespective of
whether there is a handler connected to the signal.

Change-Id: I852ace75c1962290717ed127ac5938d7505b9a7e
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
Aurindam Jana
2012-04-16 12:00:23 +02:00
committed by hjk
parent b9661b0321
commit 459f00642b
8 changed files with 21 additions and 21 deletions

View File

@@ -236,7 +236,7 @@ bool BreakpointParameters::isValid() const
case Debugger::Internal::BreakpointAtFork:
case Debugger::Internal::BreakpointAtExec:
case Debugger::Internal::BreakpointAtSysCall:
case Debugger::Internal::BreakpointOnQmlSignalHandler:
case Debugger::Internal::BreakpointOnQmlSignalEmit:
case Debugger::Internal::BreakpointAtJavaScriptThrow:
break;
case Debugger::Internal::WatchpointAtExpression:
@@ -280,7 +280,7 @@ bool BreakpointParameters::isCppBreakpoint() const
{
// Qml specific breakpoint types.
if (type == BreakpointAtJavaScriptThrow
|| type == BreakpointOnQmlSignalHandler)
|| type == BreakpointOnQmlSignalEmit)
return false;
// Qml is currently only file.
@@ -302,7 +302,7 @@ QString BreakpointParameters::toString() const
<< " PathUsage: " << pathUsage;
break;
case BreakpointByFunction:
case BreakpointOnQmlSignalHandler:
case BreakpointOnQmlSignalEmit:
ts << " FunctionName: " << functionName;
break;
case BreakpointByAddress: