forked from qt-creator/qt-creator
Consistently rename QmlProfilerEngine to QmlProfilerRunControl
It's always a pain to search for the only RunControl that's called "engine" half of the time. Change-Id: I4cece9f8958ff989925d9efaaf6fb41731842647 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
This commit is contained in:
@@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
#include "localqmlprofilerrunner.h"
|
#include "localqmlprofilerrunner.h"
|
||||||
#include "qmlprofilerplugin.h"
|
#include "qmlprofilerplugin.h"
|
||||||
#include "qmlprofilerengine.h"
|
#include "qmlprofilerruncontrol.h"
|
||||||
|
|
||||||
#include <analyzerbase/analyzermanager.h>
|
#include <analyzerbase/analyzermanager.h>
|
||||||
#include <analyzerbase/analyzerruncontrol.h>
|
#include <analyzerbase/analyzerruncontrol.h>
|
||||||
|
@@ -13,13 +13,13 @@ SOURCES += \
|
|||||||
qmlprofilerclientmanager.cpp \
|
qmlprofilerclientmanager.cpp \
|
||||||
qmlprofilerdatamodel.cpp \
|
qmlprofilerdatamodel.cpp \
|
||||||
qmlprofilerdetailsrewriter.cpp \
|
qmlprofilerdetailsrewriter.cpp \
|
||||||
qmlprofilerengine.cpp \
|
|
||||||
qmlprofilereventsmodelproxy.cpp \
|
qmlprofilereventsmodelproxy.cpp \
|
||||||
qmlprofilereventview.cpp \
|
qmlprofilereventview.cpp \
|
||||||
qmlprofilermodelmanager.cpp \
|
qmlprofilermodelmanager.cpp \
|
||||||
qmlprofilernotesmodel.cpp \
|
qmlprofilernotesmodel.cpp \
|
||||||
qmlprofilerplugin.cpp \
|
qmlprofilerplugin.cpp \
|
||||||
qmlprofilerrangemodel.cpp \
|
qmlprofilerrangemodel.cpp \
|
||||||
|
qmlprofilerruncontrol.cpp \
|
||||||
qmlprofilerruncontrolfactory.cpp \
|
qmlprofilerruncontrolfactory.cpp \
|
||||||
qmlprofilerstatemanager.cpp \
|
qmlprofilerstatemanager.cpp \
|
||||||
qmlprofilerstatewidget.cpp \
|
qmlprofilerstatewidget.cpp \
|
||||||
@@ -42,13 +42,13 @@ HEADERS += \
|
|||||||
qmlprofilerconstants.h \
|
qmlprofilerconstants.h \
|
||||||
qmlprofilerdatamodel.h \
|
qmlprofilerdatamodel.h \
|
||||||
qmlprofilerdetailsrewriter.h \
|
qmlprofilerdetailsrewriter.h \
|
||||||
qmlprofilerengine.h \
|
|
||||||
qmlprofilereventsmodelproxy.h \
|
qmlprofilereventsmodelproxy.h \
|
||||||
qmlprofilereventview.h \
|
qmlprofilereventview.h \
|
||||||
qmlprofilermodelmanager.h \
|
qmlprofilermodelmanager.h \
|
||||||
qmlprofilernotesmodel.h \
|
qmlprofilernotesmodel.h \
|
||||||
qmlprofilerplugin.h \
|
qmlprofilerplugin.h \
|
||||||
qmlprofilerrangemodel.h \
|
qmlprofilerrangemodel.h \
|
||||||
|
qmlprofilerruncontrol.h \
|
||||||
qmlprofilerruncontrolfactory.h \
|
qmlprofilerruncontrolfactory.h \
|
||||||
qmlprofilerstatemanager.h \
|
qmlprofilerstatemanager.h \
|
||||||
qmlprofilerstatewidget.h \
|
qmlprofilerstatewidget.h \
|
||||||
|
@@ -29,16 +29,16 @@ QtcPlugin {
|
|||||||
"qmlprofilerconstants.h",
|
"qmlprofilerconstants.h",
|
||||||
"qmlprofilerdatamodel.cpp", "qmlprofilerdatamodel.h",
|
"qmlprofilerdatamodel.cpp", "qmlprofilerdatamodel.h",
|
||||||
"qmlprofilerdetailsrewriter.cpp", "qmlprofilerdetailsrewriter.h",
|
"qmlprofilerdetailsrewriter.cpp", "qmlprofilerdetailsrewriter.h",
|
||||||
"qmlprofilerengine.cpp", "qmlprofilerengine.h",
|
|
||||||
"qmlprofilereventsmodelproxy.cpp", "qmlprofilereventsmodelproxy.h",
|
"qmlprofilereventsmodelproxy.cpp", "qmlprofilereventsmodelproxy.h",
|
||||||
"qmlprofilereventview.cpp", "qmlprofilereventview.h",
|
"qmlprofilereventview.cpp", "qmlprofilereventview.h",
|
||||||
"qmlprofilermodelmanager.cpp", "qmlprofilermodelmanager.h",
|
"qmlprofilermodelmanager.cpp", "qmlprofilermodelmanager.h",
|
||||||
"qmlprofilernotesmodel.cpp", "qmlprofilernotesmodel.h",
|
"qmlprofilernotesmodel.cpp", "qmlprofilernotesmodel.h",
|
||||||
"qmlprofilerplugin.cpp", "qmlprofilerplugin.h",
|
"qmlprofilerplugin.cpp", "qmlprofilerplugin.h",
|
||||||
"qmlprofilerruncontrolfactory.cpp", "qmlprofilerruncontrolfactory.h",
|
"qmlprofilerruncontrolfactory.cpp", "qmlprofilerruncontrolfactory.h",
|
||||||
|
"qmlprofilerrangemodel.cpp", "qmlprofilerrangemodel.h",
|
||||||
|
"qmlprofilerruncontrol.cpp", "qmlprofilerruncontrol.h",
|
||||||
"qmlprofilerstatemanager.cpp", "qmlprofilerstatemanager.h",
|
"qmlprofilerstatemanager.cpp", "qmlprofilerstatemanager.h",
|
||||||
"qmlprofilerstatewidget.cpp", "qmlprofilerstatewidget.h",
|
"qmlprofilerstatewidget.cpp", "qmlprofilerstatewidget.h",
|
||||||
"qmlprofilerrangemodel.cpp", "qmlprofilerrangemodel.h",
|
|
||||||
"qmlprofilertimelinemodel.cpp", "qmlprofilertimelinemodel.h",
|
"qmlprofilertimelinemodel.cpp", "qmlprofilertimelinemodel.h",
|
||||||
"qmlprofilertimelinemodelfactory.cpp", "qmlprofilertimelinemodelfactory.h",
|
"qmlprofilertimelinemodelfactory.cpp", "qmlprofilertimelinemodelfactory.h",
|
||||||
"qmlprofilertool.cpp", "qmlprofilertool.h",
|
"qmlprofilertool.cpp", "qmlprofilertool.h",
|
||||||
|
@@ -28,7 +28,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include "qmlprofilerengine.h"
|
#include "qmlprofilerruncontrol.h"
|
||||||
|
|
||||||
#include "localqmlprofilerrunner.h"
|
#include "localqmlprofilerrunner.h"
|
||||||
|
|
||||||
@@ -60,13 +60,13 @@ using namespace ProjectExplorer;
|
|||||||
namespace QmlProfiler {
|
namespace QmlProfiler {
|
||||||
|
|
||||||
//
|
//
|
||||||
// QmlProfilerEnginePrivate
|
// QmlProfilerRunControlPrivate
|
||||||
//
|
//
|
||||||
|
|
||||||
class QmlProfilerRunControl::QmlProfilerEnginePrivate
|
class QmlProfilerRunControl::QmlProfilerRunControlPrivate
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
QmlProfilerEnginePrivate() : m_running(false) {}
|
QmlProfilerRunControlPrivate() : m_running(false) {}
|
||||||
|
|
||||||
QmlProfilerStateManager *m_profilerState;
|
QmlProfilerStateManager *m_profilerState;
|
||||||
QTimer m_noDebugOutputTimer;
|
QTimer m_noDebugOutputTimer;
|
||||||
@@ -75,13 +75,12 @@ public:
|
|||||||
};
|
};
|
||||||
|
|
||||||
//
|
//
|
||||||
// QmlProfilerEngine
|
// QmlProfilerRunControl
|
||||||
//
|
//
|
||||||
|
|
||||||
QmlProfilerRunControl::QmlProfilerRunControl(const AnalyzerStartParameters &sp,
|
QmlProfilerRunControl::QmlProfilerRunControl(const AnalyzerStartParameters &sp,
|
||||||
RunConfiguration *runConfiguration)
|
RunConfiguration *runConfiguration) :
|
||||||
: AnalyzerRunControl(sp, runConfiguration)
|
AnalyzerRunControl(sp, runConfiguration), d(new QmlProfilerRunControlPrivate)
|
||||||
, d(new QmlProfilerEnginePrivate)
|
|
||||||
{
|
{
|
||||||
d->m_profilerState = 0;
|
d->m_profilerState = 0;
|
||||||
|
|
@@ -28,8 +28,8 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifndef QMLPROFILERENGINE_H
|
#ifndef QMLPROFILERRUNCONTROL_H
|
||||||
#define QMLPROFILERENGINE_H
|
#define QMLPROFILERRUNCONTROL_H
|
||||||
|
|
||||||
#include "qmlprofilerstatemanager.h"
|
#include "qmlprofilerstatemanager.h"
|
||||||
|
|
||||||
@@ -76,10 +76,10 @@ private slots:
|
|||||||
void profilerStateChanged();
|
void profilerStateChanged();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
class QmlProfilerEnginePrivate;
|
class QmlProfilerRunControlPrivate;
|
||||||
QmlProfilerEnginePrivate *d;
|
QmlProfilerRunControlPrivate *d;
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace QmlProfiler
|
} // namespace QmlProfiler
|
||||||
|
|
||||||
#endif // QMLPROFILERENGINE_H
|
#endif // QMLPROFILERRUNCONTROL_H
|
@@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
#include "qmlprofilerruncontrolfactory.h"
|
#include "qmlprofilerruncontrolfactory.h"
|
||||||
#include "localqmlprofilerrunner.h"
|
#include "localqmlprofilerrunner.h"
|
||||||
#include "qmlprofilerengine.h"
|
#include "qmlprofilerruncontrol.h"
|
||||||
|
|
||||||
#include <analyzerbase/ianalyzertool.h>
|
#include <analyzerbase/ianalyzertool.h>
|
||||||
|
|
||||||
|
@@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
#include "qmlprofilertool.h"
|
#include "qmlprofilertool.h"
|
||||||
#include "qmlprofilerstatemanager.h"
|
#include "qmlprofilerstatemanager.h"
|
||||||
#include "qmlprofilerengine.h"
|
#include "qmlprofilerruncontrol.h"
|
||||||
#include "qmlprofilerconstants.h"
|
#include "qmlprofilerconstants.h"
|
||||||
#include "qmlprofilerattachdialog.h"
|
#include "qmlprofilerattachdialog.h"
|
||||||
#include "qmlprofilerviewmanager.h"
|
#include "qmlprofilerviewmanager.h"
|
||||||
|
Reference in New Issue
Block a user