QmlProfiler: Rename QmlProfilerDataModel::addEvent()

We will get another variant, without type.

Change-Id: I06bd47955ef909b2f467425bb9ad8c8b3e3dce27
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
Ulf Hermann
2016-05-10 13:26:39 +02:00
parent 0f513bc91e
commit d6d69b811a
3 changed files with 3 additions and 3 deletions

View File

@@ -241,7 +241,7 @@ int QmlProfilerDataModel::QmlProfilerDataModelPrivate::resolveStackTop()
return typeIndex;
}
void QmlProfilerDataModel::addEvent(const QmlEvent &event, const QmlEventType &type)
void QmlProfilerDataModel::addTypedEvent(const QmlEvent &event, const QmlEventType &type)
{
Q_D(QmlProfilerDataModel);

View File

@@ -51,7 +51,7 @@ public:
void clear();
bool isEmpty() const;
void addEvent(const QmlEvent &event, const QmlEventType &type);
void addTypedEvent(const QmlEvent &event, const QmlEventType &type);
void replayEvents(qint64 startTime, qint64 endTime,
QmlProfilerModelManager::EventLoader loader) const;
void finalize();

View File

@@ -262,7 +262,7 @@ const char *QmlProfilerModelManager::featureName(ProfileFeature feature)
void QmlProfilerModelManager::addQmlEvent(const QmlEvent &event, const QmlEventType &type)
{
QTC_ASSERT(state() == AcquiringData, return);
d->model->addEvent(event, type);
d->model->addTypedEvent(event, type);
}
void QmlProfilerModelManager::acquiringDone()