summaryrefslogtreecommitdiffstats
path: root/examples/itemmodel/main.cpp
diff options
context:
space:
mode:
authorTomi Korpipää <tomi.korpipaa@digia.com>2014-01-15 11:34:59 +0200
committerTomi Korpipää <tomi.korpipaa@digia.com>2014-01-15 11:36:17 +0200
commit64d6b482bfb9dbacd548b72cb9c073513f6aa56f (patch)
tree6adea7f584f31d2b650379a4dba9ff6d7de527e3 /examples/itemmodel/main.cpp
parentca8eb71e320d08071f0f43393da3bb3fabf56da7 (diff)
Removed QDataVis and namespace macros
- docs will be fixed in QTRD-2594 Task-number: QTRD-2699 Task-number: QTRD-2700 Change-Id: Ia89d365c2de5d9254b165feb4f0a54ec099084be Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
Diffstat (limited to 'examples/itemmodel/main.cpp')
-rw-r--r--examples/itemmodel/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/itemmodel/main.cpp b/examples/itemmodel/main.cpp
index f7a4b737..46824993 100644
--- a/examples/itemmodel/main.cpp
+++ b/examples/itemmodel/main.cpp
@@ -88,7 +88,7 @@ GraphDataGenerator::GraphDataGenerator(Q3DBars *bargraph, QTableWidget *tableWid
m_tableWidget->setColumnCount(m_columnCount);
// Set selection mode to full
- m_graph->setSelectionMode(QDataVis::SelectionItemRowAndColumn);
+ m_graph->setSelectionMode(QAbstract3DGraph::SelectionItemRowAndColumn);
// Hide axis labels by explicitly setting one empty string as label list
m_graph->rowAxis()->setCategoryLabels(QStringList(QString()));
@@ -99,7 +99,7 @@ GraphDataGenerator::GraphDataGenerator(Q3DBars *bargraph, QTableWidget *tableWid
//! [6]
// Set selection mode to slice row
- m_graph->setSelectionMode(QDataVis::SelectionItemAndRow | QDataVis::SelectionSlice);
+ m_graph->setSelectionMode(QAbstract3DGraph::SelectionItemAndRow | QAbstract3DGraph::SelectionSlice);
//! [6]
#endif