summaryrefslogtreecommitdiffstats
path: root/examples/tools/styleplugin/plugin
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@digia.com>2012-11-27 00:27:32 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-11-27 19:31:21 +0100
commit114f247773c2ba7d7a04dec5381be73841ff965a (patch)
tree2635e1c2f86820a04ebb6de5d2d032b47d8a6d0f /examples/tools/styleplugin/plugin
parentab0b8f3fce9649a4383a9f26bfbd528ef8c242b8 (diff)
Update the StylePlugin example
QWindowsStyle will soon become an internal class, inherit SimpleStyle from QProxyStyle. The documentation has been updated accordingly. Change-Id: Ib55f59729e980b93276e9c2903f13b5e46612ac8 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Diffstat (limited to 'examples/tools/styleplugin/plugin')
-rw-r--r--examples/tools/styleplugin/plugin/simplestyle.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/tools/styleplugin/plugin/simplestyle.h b/examples/tools/styleplugin/plugin/simplestyle.h
index ab901cf710..15d5fb3b7f 100644
--- a/examples/tools/styleplugin/plugin/simplestyle.h
+++ b/examples/tools/styleplugin/plugin/simplestyle.h
@@ -41,13 +41,13 @@
#ifndef SIMPLESTYLE_H
#define SIMPLESTYLE_H
-#include <QWindowsStyle>
+#include <QProxyStyle>
QT_BEGIN_NAMESPACE
class QPalette;
QT_END_NAMESPACE
-class SimpleStyle : public QWindowsStyle
+class SimpleStyle : public QProxyStyle
{
Q_OBJECT