summaryrefslogtreecommitdiffstats
path: root/src/datavisualization/engine/q3dsurface.cpp
diff options
context:
space:
mode:
authorTomi Korpipää <tomi.korpipaa@digia.com>2013-10-02 10:26:46 +0300
committerTomi Korpipää <tomi.korpipaa@digia.com>2013-10-02 10:27:15 +0300
commit23052d3f50764e3d6a0def345d09c9a78d38857a (patch)
tree7fe8e3c3abf4e44ea3f62dc3022b0119ab966303 /src/datavisualization/engine/q3dsurface.cpp
parentdefd066b46329783c10ace4e67fddc4a2a65bf4c (diff)
Refactored ColorTheme -> Theme
Task-number: QTRD-2362 Change-Id: I042e57a2307f7465588ff3475a659e0483a45da8 Change-Id: I042e57a2307f7465588ff3475a659e0483a45da8 Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
Diffstat (limited to 'src/datavisualization/engine/q3dsurface.cpp')
-rw-r--r--src/datavisualization/engine/q3dsurface.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/datavisualization/engine/q3dsurface.cpp b/src/datavisualization/engine/q3dsurface.cpp
index 8522eb81..c809fedc 100644
--- a/src/datavisualization/engine/q3dsurface.cpp
+++ b/src/datavisualization/engine/q3dsurface.cpp
@@ -202,20 +202,20 @@ bool Q3DSurface::isBackgroundVisible() const
/*!
* \property Q3DSurface::theme
*
- * A predefined \a theme from \c QDataVis::ColorTheme. It is preset to \c QDataVis::ThemeQt by
+ * A predefined \a theme from \c QDataVis::Theme. It is preset to \c QDataVis::ThemeQt by
* default. Theme affects label colors, text color, background color, window color and
* grid color. Lighting is also adjusted by themes.
*
* \warning This property is subject to change.
*/
-void Q3DSurface::setTheme(QDataVis::ColorTheme theme)
+void Q3DSurface::setTheme(QDataVis::Theme theme)
{
- d_ptr->m_shared->setColorTheme(theme);
+ d_ptr->m_shared->setTheme(theme);
}
-QDataVis::ColorTheme Q3DSurface::theme() const
+QDataVis::Theme Q3DSurface::theme() const
{
- return d_ptr->m_shared->theme().colorTheme();
+ return d_ptr->m_shared->theme().theme();
}
/*!