summaryrefslogtreecommitdiffstats
path: root/examples/widgets/painting/shared/arthurstyle.h
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@digia.com>2012-11-26 15:38:43 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-11-26 17:33:37 +0100
commitc00d4373c5d55b3bf4d23b3610a52a3a207780d1 (patch)
treee2918e510d3e16d0e713d06d162ad88e7b205e8d /examples/widgets/painting/shared/arthurstyle.h
parent2d795717fc2d58862a6f4a9b9c7d97bb973c5eb8 (diff)
Widgets/Painting examples: inherit ArthurStyle from QCommonStyle
The QStyle specializations are being made internal. The ArthurStyle does not seem to require anything from QWindowsStyle, but QCommonStyle as a base class gives just as nice looks. Change-Id: I5ad8dd881e03f166ae5d3aedccb2688952dc0a28 Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Diffstat (limited to 'examples/widgets/painting/shared/arthurstyle.h')
-rw-r--r--examples/widgets/painting/shared/arthurstyle.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/widgets/painting/shared/arthurstyle.h b/examples/widgets/painting/shared/arthurstyle.h
index 45cf1baacf..074437be6e 100644
--- a/examples/widgets/painting/shared/arthurstyle.h
+++ b/examples/widgets/painting/shared/arthurstyle.h
@@ -42,11 +42,11 @@
#ifndef ARTHURSTYLE_H
#define ARTHURSTYLE_H
-#include <QWindowsStyle>
+#include <QCommonStyle>
QT_USE_NAMESPACE
-class ArthurStyle : public QWindowsStyle
+class ArthurStyle : public QCommonStyle
{
public:
ArthurStyle();