aboutsummaryrefslogtreecommitdiffstats
path: root/tools/qmlprofiler/profileclient.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/qmlprofiler/profileclient.cpp')
-rw-r--r--tools/qmlprofiler/profileclient.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/tools/qmlprofiler/profileclient.cpp b/tools/qmlprofiler/profileclient.cpp
index 5871aa29af..85287464cf 100644
--- a/tools/qmlprofiler/profileclient.cpp
+++ b/tools/qmlprofiler/profileclient.cpp
@@ -103,10 +103,10 @@ void ProfileClient::stateChanged(State status)
}
-class DeclarativeProfileClientPrivate
+class QmlProfileClientPrivate
{
public:
- DeclarativeProfileClientPrivate()
+ QmlProfileClientPrivate()
: inProgressRanges(0)
, maximumTime(0)
{
@@ -122,26 +122,26 @@ public:
qint64 maximumTime;
};
-DeclarativeProfileClient::DeclarativeProfileClient(
+QmlProfileClient::QmlProfileClient(
QQmlDebugConnection *client)
: ProfileClient(QLatin1String("CanvasFrameRate"), client),
- d(new DeclarativeProfileClientPrivate)
+ d(new QmlProfileClientPrivate)
{
}
-DeclarativeProfileClient::~DeclarativeProfileClient()
+QmlProfileClient::~QmlProfileClient()
{
delete d;
}
-void DeclarativeProfileClient::clearData()
+void QmlProfileClient::clearData()
{
::memset(d->rangeCount, 0,
QQmlProfilerService::MaximumRangeType * sizeof(int));
ProfileClient::clearData();
}
-void DeclarativeProfileClient::sendRecordingStatus()
+void QmlProfileClient::sendRecordingStatus()
{
QByteArray ba;
QDataStream stream(&ba, QIODevice::WriteOnly);
@@ -149,7 +149,7 @@ void DeclarativeProfileClient::sendRecordingStatus()
sendMessage(ba);
}
-void DeclarativeProfileClient::messageReceived(const QByteArray &data)
+void QmlProfileClient::messageReceived(const QByteArray &data)
{
QByteArray rwData = data;
QDataStream stream(&rwData, QIODevice::ReadOnly);