summaryrefslogtreecommitdiffstats
path: root/src/datavisualization/theme
diff options
context:
space:
mode:
authorMiikka Heikkinen <miikka.heikkinen@theqtcompany.com>2015-06-17 14:01:44 +0300
committerMiikka Heikkinen <miikka.heikkinen@theqtcompany.com>2015-06-17 14:24:57 +0300
commita71eb045af5a00fe135201f8b3c5999eda26e0bd (patch)
treeb19c639be2034987e234e106104d89b5f6586608 /src/datavisualization/theme
parent916d67d2664b0262cd03b28ad0c694924dd09b13 (diff)
Fix building against 5.6
Apparently Qt modules are now required to use Q_SIGNALS and Q_SLOTS macros instead of 'signals' and 'slots' in headers. Change-Id: I4140b1fff4386d74bb371176919234366965e887 Reviewed-by: Mika Salmela <mika.salmela@theqtcompany.com>
Diffstat (limited to 'src/datavisualization/theme')
-rw-r--r--src/datavisualization/theme/q3dtheme.h2
-rw-r--r--src/datavisualization/theme/q3dtheme_p.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/datavisualization/theme/q3dtheme.h b/src/datavisualization/theme/q3dtheme.h
index 982c574d..cbecbc4f 100644
--- a/src/datavisualization/theme/q3dtheme.h
+++ b/src/datavisualization/theme/q3dtheme.h
@@ -147,7 +147,7 @@ public:
void setColorStyle(ColorStyle style);
ColorStyle colorStyle() const;
-signals:
+Q_SIGNALS:
void typeChanged(Q3DTheme::Theme themeType);
void baseColorsChanged(const QList<QColor> &colors);
void backgroundColorChanged(const QColor &color);
diff --git a/src/datavisualization/theme/q3dtheme_p.h b/src/datavisualization/theme/q3dtheme_p.h
index 44dcd7af..53f36b71 100644
--- a/src/datavisualization/theme/q3dtheme_p.h
+++ b/src/datavisualization/theme/q3dtheme_p.h
@@ -108,7 +108,7 @@ public:
inline bool isForcePredefinedType() { return m_forcePredefinedType; }
inline void setForcePredefinedType(bool enable) { m_forcePredefinedType = enable; }
-signals:
+Q_SIGNALS:
void needRender();
public: