summaryrefslogtreecommitdiffstats
path: root/examples/charts/callout
diff options
context:
space:
mode:
authorTitta Heikkala <titta.heikkala@theqtcompany.com>2014-10-20 10:50:08 +0300
committerTitta Heikkala <titta.heikkala@theqtcompany.com>2014-10-20 13:28:52 +0300
commit929d943d1aabf414eaa6e402464124f18d4f2abc (patch)
tree41f45a47bc0692a6f107cfbbfc61361029d17f00 /examples/charts/callout
parentf6fba9e059d74a732a978234ae8271ff32ffd929 (diff)
Fix include syntax
The includes for the whole project are changed to syntax: '#include <module/class> Change-Id: If32f8b6c3f47516ad6bc30ed40789ea9042d5664 Task-number: QTRD-3373 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
Diffstat (limited to 'examples/charts/callout')
-rw-r--r--examples/charts/callout/callout.cpp8
-rw-r--r--examples/charts/callout/callout.h4
-rw-r--r--examples/charts/callout/main.cpp2
-rw-r--r--examples/charts/callout/view.cpp14
-rw-r--r--examples/charts/callout/view.h4
5 files changed, 16 insertions, 16 deletions
diff --git a/examples/charts/callout/callout.cpp b/examples/charts/callout/callout.cpp
index 2491368f..906e8d6b 100644
--- a/examples/charts/callout/callout.cpp
+++ b/examples/charts/callout/callout.cpp
@@ -19,10 +19,10 @@
****************************************************************************/
#include "callout.h"
-#include <QPainter>
-#include <QFontMetrics>
-#include <QGraphicsSceneMouseEvent>
-#include <QMouseEvent>
+#include <QtGui/QPainter>
+#include <QtGui/QFontMetrics>
+#include <QtWidgets/QGraphicsSceneMouseEvent>
+#include <QtGui/QMouseEvent>
Callout::Callout(QGraphicsItem * parent):
QGraphicsItem(parent)
diff --git a/examples/charts/callout/callout.h b/examples/charts/callout/callout.h
index 23fc8484..bf6ce197 100644
--- a/examples/charts/callout/callout.h
+++ b/examples/charts/callout/callout.h
@@ -21,8 +21,8 @@
#ifndef CALLOUT_H
#define CALLOUT_H
-#include <QGraphicsItem>
-#include <QFont>
+#include <QtWidgets/QGraphicsItem>
+#include <QtGui/QFont>
class QGraphicsSceneMouseEvent;
diff --git a/examples/charts/callout/main.cpp b/examples/charts/callout/main.cpp
index a6dfc2e9..8673c7d2 100644
--- a/examples/charts/callout/main.cpp
+++ b/examples/charts/callout/main.cpp
@@ -18,7 +18,7 @@
**
****************************************************************************/
-#include <QApplication>
+#include <QtWidgets/QApplication>
#include "view.h"
int main(int argc, char *argv[])
diff --git a/examples/charts/callout/view.cpp b/examples/charts/callout/view.cpp
index a7c43863..1f1ce8f6 100644
--- a/examples/charts/callout/view.cpp
+++ b/examples/charts/callout/view.cpp
@@ -19,14 +19,14 @@
****************************************************************************/
#include "view.h"
-#include <QResizeEvent>
-#include <QGraphicsScene>
-#include <QChart>
-#include <QLineSeries>
-#include <QSplineSeries>
-#include <QGraphicsTextItem>
+#include <QtGui/QResizeEvent>
+#include <QtWidgets/QGraphicsScene>
+#include <QtCharts/QChart>
+#include <QtCharts/QLineSeries>
+#include <QtCharts/QSplineSeries>
+#include <QtWidgets/QGraphicsTextItem>
#include "callout.h"
-#include <QMouseEvent>
+#include <QtGui/QMouseEvent>
View::View(QWidget *parent)
: QGraphicsView(new QGraphicsScene, parent),
diff --git a/examples/charts/callout/view.h b/examples/charts/callout/view.h
index 3a322382..82f41696 100644
--- a/examples/charts/callout/view.h
+++ b/examples/charts/callout/view.h
@@ -20,8 +20,8 @@
#ifndef VIEW_H
#define VIEW_H
-#include <QGraphicsView>
-#include <QChartGlobal>
+#include <QtWidgets/QGraphicsView>
+#include <QtCharts/QChartGlobal>
QT_CHARTS_BEGIN_NAMESPACE
class QChart;