summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-05-27 09:16:08 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-05-27 09:16:08 (GMT)
commit7184c41453c64f177f337b173f4ca82afead731d (patch)
treed723fdf36be89b57602961491311962e16985b03 /src/declarative/qml
parentb0f03285862041141817f3d733c54d89ce3979d8 (diff)
downloadQt-7184c41453c64f177f337b173f4ca82afead731d.zip
Qt-7184c41453c64f177f337b173f4ca82afead731d.tar.gz
Qt-7184c41453c64f177f337b173f4ca82afead731d.tar.bz2
Rename QDeclarativeDebugTiming -> QDeclarativeDebugTrace
Diffstat (limited to 'src/declarative/qml')
-rw-r--r--src/declarative/qml/qdeclarativecomponent.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/declarative/qml/qdeclarativecomponent.cpp b/src/declarative/qml/qdeclarativecomponent.cpp
index 2dc2d2d..9847079 100644
--- a/src/declarative/qml/qdeclarativecomponent.cpp
+++ b/src/declarative/qml/qdeclarativecomponent.cpp
@@ -53,7 +53,7 @@
#include "private/qdeclarativebinding_p_p.h"
#include "private/qdeclarativeglobal_p.h"
#include "private/qdeclarativescriptparser_p.h"
-#include "private/qdeclarativedebugtiming_p.h"
+#include "private/qdeclarativedebugtrace_p.h"
#include <QStack>
#include <QStringList>
@@ -696,7 +696,8 @@ QDeclarativeComponentPrivate::beginCreate(QDeclarativeContextData *context, cons
bool isRoot = !ep->inBeginCreate;
if (isRoot)
- QDeclarativeDebugTiming::startRange(QDeclarativeDebugTiming::Creating);
+ QDeclarativeDebugTrace::startRange(QDeclarativeDebugTrace::Creating);
+ QDeclarativeDebugTrace::rangeData(QDeclarativeDebugTrace::Creating, cc->url);
QDeclarativeContextData *ctxt = new QDeclarativeContextData;
ctxt->isInternal = true;
@@ -867,7 +868,7 @@ void QDeclarativeComponentPrivate::completeCreate()
QDeclarativeEnginePrivate *ep = QDeclarativeEnginePrivate::get(engine);
complete(ep, &state);
- QDeclarativeDebugTiming::endRange(QDeclarativeDebugTiming::Creating);
+ QDeclarativeDebugTrace::endRange(QDeclarativeDebugTrace::Creating);
}
}