diff options
author | Titta Heikkala <titta.heikkala@theqtcompany.com> | 2014-10-20 10:50:08 +0300 |
---|---|---|
committer | Titta Heikkala <titta.heikkala@theqtcompany.com> | 2014-10-20 13:28:52 +0300 |
commit | 929d943d1aabf414eaa6e402464124f18d4f2abc (patch) | |
tree | 41f45a47bc0692a6f107cfbbfc61361029d17f00 /examples/charts/legendmarkers | |
parent | f6fba9e059d74a732a978234ae8271ff32ffd929 (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/legendmarkers')
-rw-r--r-- | examples/charts/legendmarkers/main.cpp | 4 | ||||
-rw-r--r-- | examples/charts/legendmarkers/mainwidget.cpp | 22 | ||||
-rw-r--r-- | examples/charts/legendmarkers/mainwidget.h | 20 |
3 files changed, 23 insertions, 23 deletions
diff --git a/examples/charts/legendmarkers/main.cpp b/examples/charts/legendmarkers/main.cpp index f627e496..425ac800 100644 --- a/examples/charts/legendmarkers/main.cpp +++ b/examples/charts/legendmarkers/main.cpp @@ -20,8 +20,8 @@ #include "mainwidget.h" -#include <QApplication> -#include <QMainWindow> +#include <QtWidgets/QApplication> +#include <QtWidgets/QMainWindow> int main(int argc, char *argv[]) { diff --git a/examples/charts/legendmarkers/mainwidget.cpp b/examples/charts/legendmarkers/mainwidget.cpp index f71e7a61..f97626de 100644 --- a/examples/charts/legendmarkers/mainwidget.cpp +++ b/examples/charts/legendmarkers/mainwidget.cpp @@ -19,17 +19,17 @@ ****************************************************************************/ #include "mainwidget.h" -#include <QChart> -#include <QChartView> -#include <QPushButton> -#include <QLabel> -#include <QDebug> -#include <QLegend> -#include <QFormLayout> -#include <QLegendMarker> -#include <QLineSeries> -#include <QXYLegendMarker> -#include <qmath.h> +#include <QtCharts/QChart> +#include <QtCharts/QChartView> +#include <QtWidgets/QPushButton> +#include <QtWidgets/QLabel> +#include <QtCore/QDebug> +#include <QtCharts/QLegend> +#include <QtWidgets/QFormLayout> +#include <QtCharts/QLegendMarker> +#include <QtCharts/QLineSeries> +#include <QtCharts/QXYLegendMarker> +#include <QtCore/QtMath> QT_CHARTS_USE_NAMESPACE diff --git a/examples/charts/legendmarkers/mainwidget.h b/examples/charts/legendmarkers/mainwidget.h index 350808a2..522ffc8b 100644 --- a/examples/charts/legendmarkers/mainwidget.h +++ b/examples/charts/legendmarkers/mainwidget.h @@ -21,16 +21,16 @@ #ifndef MAINWIDGET_H #define MAINWIDGET_H -#include "qchartglobal.h" -#include "qchart.h" -#include "qchartview.h" -#include <QWidget> -#include <QGraphicsWidget> -#include <QGridLayout> -#include <QGraphicsGridLayout> -#include <QDoubleSpinBox> -#include <QGroupBox> -#include <QLineSeries> +#include <QtCharts/QChartGlobal> +#include <QtCharts/QChart> +#include <QtCharts/QChartView> +#include <QtWidgets/QWidget> +#include <QtWidgets/QGraphicsWidget> +#include <QtWidgets/QGridLayout> +#include <QtWidgets/QGraphicsGridLayout> +#include <QtWidgets/QDoubleSpinBox> +#include <QtWidgets/QGroupBox> +#include <QtCharts/QLineSeries> QT_CHARTS_USE_NAMESPACE |