forked from qt-creator/qt-creator
Move QmlProfiler specific files from qmldebug to qmlprofiler
These file were not used anywhere else and had no business to be in qmldebug to begin with. Moving them allows us to drop a number of namespace qualifications and forces us to rename a few local symbols in other classes in order to avoid name clashes. Change-Id: I658ed455eec027cbaddacf2980d2ea6827ae6205 Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
This commit is contained in:
@@ -26,10 +26,11 @@
|
||||
#pragma once
|
||||
|
||||
#include "qmlprofilertimelinemodel.h"
|
||||
#include <qmldebug/qmlprofilereventtypes.h>
|
||||
#include <qmldebug/qmlprofilereventlocation.h>
|
||||
#include <QVariantList>
|
||||
#include "qmlprofilerdatamodel.h"
|
||||
#include "qmlprofilereventtypes.h"
|
||||
#include "qmlprofilereventlocation.h"
|
||||
|
||||
#include <QVariantList>
|
||||
#include <QColor>
|
||||
|
||||
namespace QmlProfiler {
|
||||
@@ -44,8 +45,8 @@ public:
|
||||
|
||||
struct QmlRangeEventStartInstance {
|
||||
QmlRangeEventStartInstance() :
|
||||
displayRowExpanded(QmlDebug::Constants::QML_MIN_LEVEL),
|
||||
displayRowCollapsed(QmlDebug::Constants::QML_MIN_LEVEL),
|
||||
displayRowExpanded(Constants::QML_MIN_LEVEL),
|
||||
displayRowCollapsed(Constants::QML_MIN_LEVEL),
|
||||
bindingLoopHead(-1) {}
|
||||
|
||||
// not-expanded, per type
|
||||
@@ -54,8 +55,7 @@ public:
|
||||
int bindingLoopHead;
|
||||
};
|
||||
|
||||
QmlProfilerRangeModel(QmlProfilerModelManager *manager, QmlDebug::RangeType range,
|
||||
QObject *parent = 0);
|
||||
QmlProfilerRangeModel(QmlProfilerModelManager *manager, RangeType range, QObject *parent = 0);
|
||||
|
||||
Q_INVOKABLE int expandedRow(int index) const;
|
||||
Q_INVOKABLE int collapsedRow(int index) const;
|
||||
|
||||
Reference in New Issue
Block a user