From 3ce4ae10e54e9c5d73826f4d6f8c5e442ac2d525 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomi=20Korpip=C3=A4=C3=A4?= Date: Fri, 22 Nov 2013 07:56:04 +0200 Subject: User-modifiable themes, part 1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Task-number: QTRD-2120 + old functionality remade - new functionality to be added + fixed a compilation error in qbarseries for mingw Change-Id: I710c97b5d4023861be8e8cc5cc61c05bb4644964 Signed-off-by: Tomi Korpipää --- src/datavisualization/engine/q3dsurface.cpp | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'src/datavisualization/engine/q3dsurface.cpp') diff --git a/src/datavisualization/engine/q3dsurface.cpp b/src/datavisualization/engine/q3dsurface.cpp index 26f82611..b19b5a0c 100644 --- a/src/datavisualization/engine/q3dsurface.cpp +++ b/src/datavisualization/engine/q3dsurface.cpp @@ -250,20 +250,16 @@ bool Q3DSurface::isBackgroundVisible() const /*! * \property Q3DSurface::theme * - * 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. - * - * \preliminary + * TODO: Add docs */ -void Q3DSurface::setTheme(QDataVis::Theme theme) +void Q3DSurface::setTheme(Q3DTheme *theme) { d_ptr->m_shared->setTheme(theme); } -QDataVis::Theme Q3DSurface::theme() const +Q3DTheme *Q3DSurface::theme() const { - return d_ptr->m_shared->theme().theme(); + return d_ptr->m_shared->theme(); } /*! -- cgit v1.2.3