summaryrefslogtreecommitdiffstats
path: root/examples/charts/candlestickchart
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@qt.io>2020-07-28 17:19:47 +0200
committerMichal Klocek <michal.klocek@qt.io>2020-11-06 12:17:54 +0100
commit227020b118fa38ada1d8bd579593dae61f6e3881 (patch)
treeeae709325afacfd9f63ef52d643ec20f1d926534 /examples/charts/candlestickchart
parent71cb91cfba5ab7db2b2415a48881aeba37d71438 (diff)
Remove charts namespace for Qt6
This auto refactor to remove charts namespace, just use qt one. [ChangeLog] Use QT_NAMESPACE as other modules. Change-Id: I7722ed2ff5cd84c594ea96db15e5df50a24f06b4 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Diffstat (limited to 'examples/charts/candlestickchart')
-rw-r--r--examples/charts/candlestickchart/candlestickdatareader.h2
-rw-r--r--examples/charts/candlestickchart/main.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/charts/candlestickchart/candlestickdatareader.h b/examples/charts/candlestickchart/candlestickdatareader.h
index aaa83bf2..cfc5bb0d 100644
--- a/examples/charts/candlestickchart/candlestickdatareader.h
+++ b/examples/charts/candlestickchart/candlestickdatareader.h
@@ -33,7 +33,7 @@
#include <QtCharts/QCandlestickSet>
#include <QtCore/QTextStream>
-QT_CHARTS_USE_NAMESPACE
+QT_USE_NAMESPACE
class CandlestickDataReader : public QTextStream
{
diff --git a/examples/charts/candlestickchart/main.cpp b/examples/charts/candlestickchart/main.cpp
index 26a26a37..ba37695b 100644
--- a/examples/charts/candlestickchart/main.cpp
+++ b/examples/charts/candlestickchart/main.cpp
@@ -38,7 +38,7 @@
#include "candlestickdatareader.h"
-QT_CHARTS_USE_NAMESPACE
+QT_USE_NAMESPACE
int main(int argc, char *argv[])
{