aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmlprofiler/inputeventsmodel.h
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2018-05-09 09:27:07 +0200
committerUlf Hermann <ulf.hermann@qt.io>2018-05-11 15:41:55 +0000
commit86b368f91270fc74ff7152bf51d71961c21bbef4 (patch)
tree07d5c508c1aac4096360ce1401da7807ce382b6c /src/plugins/qmlprofiler/inputeventsmodel.h
parent9685711cb399682523d4ef28bcfdc067aebd9fde (diff)
QmlProfiler: Rename all the timeline model data structs to Item
This allows us to define a template for filling a QmlProfilerTimelineModel without spelling out all the type names. Change-Id: I97870287a795d95f58a949729afa715f145817bb Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/qmlprofiler/inputeventsmodel.h')
-rw-r--r--src/plugins/qmlprofiler/inputeventsmodel.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/qmlprofiler/inputeventsmodel.h b/src/plugins/qmlprofiler/inputeventsmodel.h
index 17cd114336..dbd1515894 100644
--- a/src/plugins/qmlprofiler/inputeventsmodel.h
+++ b/src/plugins/qmlprofiler/inputeventsmodel.h
@@ -35,8 +35,8 @@ class InputEventsModel : public QmlProfilerTimelineModel
Q_OBJECT
public:
- struct InputEvent {
- InputEvent(InputEventType type = MaximumInputEventType, int a = 0, int b = 0);
+ struct Item {
+ Item(InputEventType type = MaximumInputEventType, int a = 0, int b = 0);
InputEventType type;
int a;
int b;
@@ -60,7 +60,7 @@ private:
int m_keyTypeId;
int m_mouseTypeId;
- QVector<InputEvent> m_data;
+ QVector<Item> m_data;
};
} // namespace Internal