summaryrefslogtreecommitdiffstats
path: root/src/widgets/styles/qwindowsvistastyle.cpp
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@digia.com>2012-11-16 16:54:43 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-11-21 16:36:50 +0100
commit537efea52b43c9b8f4fdb12121ac6d0263be21fe (patch)
treebb9e8b67affe3e432adafdb0f6f883dafc4be6f4 /src/widgets/styles/qwindowsvistastyle.cpp
parent146f63bea487dbc4d6af34b56fa382f5a6a18e82 (diff)
Made QWindowsVistaStyle internal
We will take this opportynity to remove various QStyle specializations from the public API in Qt5. This gives us much more freedom, for example changing the inheritance hierarchy and even merging style implementations (XP & Vista) later on, without worrying about BC. => Use QStyleFactory and/or QProxyStyle instead of creating an instance or inheriting QWindowsVistaStyle directly. Change-Id: I8b320036e241e877fc9bb5f4084cc6e63756cbc4 Reviewed-by: Jan Arve Sæther <jan-arve.saether@digia.com>
Diffstat (limited to 'src/widgets/styles/qwindowsvistastyle.cpp')
-rw-r--r--src/widgets/styles/qwindowsvistastyle.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/widgets/styles/qwindowsvistastyle.cpp b/src/widgets/styles/qwindowsvistastyle.cpp
index 093a9f7197..4c31a26f10 100644
--- a/src/widgets/styles/qwindowsvistastyle.cpp
+++ b/src/widgets/styles/qwindowsvistastyle.cpp
@@ -39,8 +39,8 @@
**
****************************************************************************/
-#include "qwindowsvistastyle.h"
#include "qwindowsvistastyle_p.h"
+#include "qwindowsvistastyle_p_p.h"
#include <qscreen.h>
#include <qwindow.h>
#include <private/qstyleanimation_p.h>
@@ -188,6 +188,7 @@ QStyleOption *clonedAnimationStyleOption(const QStyleOption*option) {
\since 4.3
\ingroup appearance
\inmodule QtWidgets
+ \internal
\warning This style is only available on the Windows Vista platform
because it makes use of Windows Vista's style engine.