From e0da339a9d1726cf49675537895e737b5001f31c Mon Sep 17 00:00:00 2001 From: Miikka Heikkinen Date: Fri, 14 Mar 2014 15:22:02 +0200 Subject: Add proper scoping to signals with enum parameters MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit According to customer feedback, the lack of proper scoping makes it impossible to use the traditional style SIGNAL() macro when making connections. Change-Id: I3fbead5400bbd8b5fad62e4facecc6610c36c9a6 Reviewed-by: Tomi Korpipää --- src/datavisualization/theme/q3dtheme.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/datavisualization/theme') diff --git a/src/datavisualization/theme/q3dtheme.h b/src/datavisualization/theme/q3dtheme.h index 43278c79..3a82afea 100644 --- a/src/datavisualization/theme/q3dtheme.h +++ b/src/datavisualization/theme/q3dtheme.h @@ -148,7 +148,7 @@ public: ColorStyle colorStyle() const; signals: - void typeChanged(Theme themeType); + void typeChanged(Q3DTheme::Theme themeType); void baseColorsChanged(const QList &colors); void backgroundColorChanged(const QColor &color); void windowColorChanged(const QColor &color); @@ -169,7 +169,7 @@ signals: void backgroundEnabledChanged(bool enabled); void gridEnabledChanged(bool enabled); void labelBackgroundEnabledChanged(bool enabled); - void colorStyleChanged(ColorStyle style); + void colorStyleChanged(Q3DTheme::ColorStyle style); protected: explicit Q3DTheme(Q3DThemePrivate *d, Theme themeType, QObject *parent = 0); -- cgit v1.2.3