diff options
author | Ulf Hermann <[email protected]> | 2016-12-20 13:00:18 +0100 |
---|---|---|
committer | Ulf Hermann <[email protected]> | 2016-12-28 10:48:14 +0000 |
commit | 2ad8e27d53795a2cb306fb06d96e55a72b30860e (patch) | |
tree | 3d58ccc292f69e2600551545b3587d3195399b7f /src/plugins/qmlprofiler/qmlprofilerviewmanager.h | |
parent | beea69e48608cf2dbd7c8e149ef4d8b1cb04936d (diff) |
QmlProfiler: Make the views accessible from the view manager
And then, drop some methods we don't need anymore.
Change-Id: I057bdc012072abddca2df83918ee9a0460f78611
Reviewed-by: Christian Kandeler <[email protected]>
Diffstat (limited to 'src/plugins/qmlprofiler/qmlprofilerviewmanager.h')
-rw-r--r-- | src/plugins/qmlprofiler/qmlprofilerviewmanager.h | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/src/plugins/qmlprofiler/qmlprofilerviewmanager.h b/src/plugins/qmlprofiler/qmlprofilerviewmanager.h index b6010ef589f..b592255dd3b 100644 --- a/src/plugins/qmlprofiler/qmlprofilerviewmanager.h +++ b/src/plugins/qmlprofiler/qmlprofilerviewmanager.h @@ -25,6 +25,9 @@ #pragma once +#include "qmlprofilerstatisticsview.h" +#include "qmlprofilertraceview.h" +#include "flamegraphview.h" #include <QObject> namespace QmlProfiler { @@ -46,15 +49,9 @@ public: void createViews(); - // used by the options "limit events to range" - bool hasValidSelection() const; - qint64 selectionStart() const; - qint64 selectionEnd() const; - bool isEventsRestrictedToRange() const; - void restrictEventsToRange(qint64 rangeStart, qint64 rangeEnd); - - bool isTimelineUsable() const; - void raiseTimeline(); + QmlProfilerTraceView *traceView() const; + QmlProfilerStatisticsView *statisticsView() const; + FlameGraphView *flameGraphView() const; public slots: void clear(); |