summaryrefslogtreecommitdiff
path: root/src/plugins/qmlprofiler/qmlprofilertraceview.h
diff options
context:
space:
mode:
authorThomas Hartmann <Thomas.Hartmann@digia.com>2013-09-16 14:33:07 +0200
committerThomas Hartmann <Thomas.Hartmann@digia.com>2013-09-16 14:35:53 +0200
commit9e58ab2ac88c9beae06b7ef371b32c8bb5a54b0b (patch)
tree778f8f966a6a0ef41bbee602b4775730ea41c5b2 /src/plugins/qmlprofiler/qmlprofilertraceview.h
parent8e281fe27bbdc004017b5ebaba647ba0e2d467c4 (diff)
downloadqt-creator-9e58ab2ac88c9beae06b7ef371b32c8bb5a54b0b.tar.gz
QmlProfiler: Initial conversion from Quick 1 to Quick 2
Updated class names and functions. Fixed imports. Change-Id: I5f12e3a108a0e60c091acc9c415ff77e52118029 Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Diffstat (limited to 'src/plugins/qmlprofiler/qmlprofilertraceview.h')
-rw-r--r--src/plugins/qmlprofiler/qmlprofilertraceview.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/plugins/qmlprofiler/qmlprofilertraceview.h b/src/plugins/qmlprofiler/qmlprofilertraceview.h
index dd7d233ff0..985838f7aa 100644
--- a/src/plugins/qmlprofiler/qmlprofilertraceview.h
+++ b/src/plugins/qmlprofiler/qmlprofilertraceview.h
@@ -30,7 +30,8 @@
#ifndef QMLPROFILERTRACEVIEW_H
#define QMLPROFILERTRACEVIEW_H
-#include <QDeclarativeView>
+#include <QQuickView>
+#include <QWidget>
namespace Analyzer {
class IAnalyzerTool;
@@ -74,12 +75,12 @@ private:
qint64 m_endTime;
};
-class ScrollableDeclarativeView : public QDeclarativeView
+class ScrollableQuickView : public QQuickView
{
Q_OBJECT
public:
- explicit ScrollableDeclarativeView(QWidget *parent = 0);
- ~ScrollableDeclarativeView();
+ explicit ScrollableQuickView(QQuickView *parent = 0);
+ ~ScrollableQuickView();
protected:
void scrollContentsBy(int dx, int dy);
};