summaryrefslogtreecommitdiffstats
path: root/examples/charts/piechartdrilldown
diff options
context:
space:
mode:
Diffstat (limited to 'examples/charts/piechartdrilldown')
-rw-r--r--examples/charts/piechartdrilldown/drilldownchart.cpp2
-rw-r--r--examples/charts/piechartdrilldown/drilldownchart.h6
-rw-r--r--examples/charts/piechartdrilldown/drilldownslice.cpp2
-rw-r--r--examples/charts/piechartdrilldown/drilldownslice.h6
-rw-r--r--examples/charts/piechartdrilldown/main.cpp2
5 files changed, 9 insertions, 9 deletions
diff --git a/examples/charts/piechartdrilldown/drilldownchart.cpp b/examples/charts/piechartdrilldown/drilldownchart.cpp
index 690d7715..195fb5f9 100644
--- a/examples/charts/piechartdrilldown/drilldownchart.cpp
+++ b/examples/charts/piechartdrilldown/drilldownchart.cpp
@@ -29,7 +29,7 @@
#include "drilldownchart.h"
#include "drilldownslice.h"
-QT_CHARTS_USE_NAMESPACE
+QT_USE_NAMESPACE
DrilldownChart::DrilldownChart(QGraphicsItem *parent, Qt::WindowFlags wFlags)
: QChart(QChart::ChartTypeCartesian, parent, wFlags),
diff --git a/examples/charts/piechartdrilldown/drilldownchart.h b/examples/charts/piechartdrilldown/drilldownchart.h
index 53748b21..7c5da394 100644
--- a/examples/charts/piechartdrilldown/drilldownchart.h
+++ b/examples/charts/piechartdrilldown/drilldownchart.h
@@ -31,12 +31,12 @@
#include <QtCharts/QChart>
-QT_CHARTS_BEGIN_NAMESPACE
+QT_BEGIN_NAMESPACE
class QAbstractSeries;
class QPieSlice;
-QT_CHARTS_END_NAMESPACE
+QT_END_NAMESPACE
-QT_CHARTS_USE_NAMESPACE
+QT_USE_NAMESPACE
class DrilldownChart : public QChart
{
diff --git a/examples/charts/piechartdrilldown/drilldownslice.cpp b/examples/charts/piechartdrilldown/drilldownslice.cpp
index 1fc6bd81..7c0af7f0 100644
--- a/examples/charts/piechartdrilldown/drilldownslice.cpp
+++ b/examples/charts/piechartdrilldown/drilldownslice.cpp
@@ -29,7 +29,7 @@
#include "drilldownslice.h"
-QT_CHARTS_USE_NAMESPACE
+QT_USE_NAMESPACE
DrilldownSlice::DrilldownSlice(qreal value, QString prefix, QAbstractSeries *drilldownSeries)
: m_drilldownSeries(drilldownSeries),
diff --git a/examples/charts/piechartdrilldown/drilldownslice.h b/examples/charts/piechartdrilldown/drilldownslice.h
index 2735c3f6..bcdc1805 100644
--- a/examples/charts/piechartdrilldown/drilldownslice.h
+++ b/examples/charts/piechartdrilldown/drilldownslice.h
@@ -31,11 +31,11 @@
#include <QtCharts/QPieSlice>
-QT_CHARTS_BEGIN_NAMESPACE
+QT_BEGIN_NAMESPACE
class QAbstractSeries;
-QT_CHARTS_END_NAMESPACE
+QT_END_NAMESPACE
-QT_CHARTS_USE_NAMESPACE
+QT_USE_NAMESPACE
class DrilldownSlice : public QPieSlice
{
diff --git a/examples/charts/piechartdrilldown/main.cpp b/examples/charts/piechartdrilldown/main.cpp
index e18f07f3..2701ef30 100644
--- a/examples/charts/piechartdrilldown/main.cpp
+++ b/examples/charts/piechartdrilldown/main.cpp
@@ -36,7 +36,7 @@
#include <QtCharts/QLegend>
#include <QtCharts/QPieSeries>
-QT_CHARTS_USE_NAMESPACE
+QT_USE_NAMESPACE
int main(int argc, char *argv[])
{