From 537efea52b43c9b8f4fdb12121ac6d0263be21fe Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Fri, 16 Nov 2012 16:54:43 +0100 Subject: Made QWindowsVistaStyle internal MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- src/widgets/styles/qwindowsvistastyle.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/widgets/styles/qwindowsvistastyle.cpp') 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 #include #include @@ -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. -- cgit v1.2.3