QmlProfiler: reading column information in bindings

Change-Id: I1a99c3508de733d98eb99f41419eccfdca030fe0
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
This commit is contained in:
Christiaan Janssen
2012-01-12 16:36:40 +01:00
parent 4894c559ac
commit 1958fd82d5
15 changed files with 104 additions and 66 deletions

View File

@@ -35,6 +35,7 @@
#include "qdeclarativedebugclient.h"
#include "qmlprofilereventtypes.h"
#include "qmlprofilereventlocation.h"
#include "qmljsdebugclient_global.h"
#include <QtCore/QStack>
@@ -42,14 +43,6 @@
namespace QmlJsDebugClient {
struct QMLJSDEBUGCLIENT_EXPORT Location
{
Location() : line(-1) {}
Location(const QString &file, int lineNumber) : fileName(file), line(lineNumber) {}
QString fileName;
int line;
};
class QMLJSDEBUGCLIENT_EXPORT QmlProfilerTraceClient : public QmlJsDebugClient::QDeclarativeDebugClient
{
Q_OBJECT
@@ -100,7 +93,7 @@ signals:
void traceFinished( qint64 time );
void traceStarted( qint64 time );
void range(int type, qint64 startTime, qint64 length,
const QStringList &data, const QString &fileName, int line);
const QStringList &data, const QmlJsDebugClient::QmlEventLocation &location);
void frame(qint64 time, int frameRate, int animationCount);
void recordingChanged(bool arg);