summaryrefslogtreecommitdiffstats
path: root/src/datavisualization/engine/q3dsurface.cpp
diff options
context:
space:
mode:
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();
}
/*!