forked from qt-creator/qt-creator
QmlProfiler: reading column information in bindings
Change-Id: I1a99c3508de733d98eb99f41419eccfdca030fe0 Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user