Made QWindowsXPStyle internal
authorJ-P Nurmi <jpnurmi@digia.com>
Fri, 16 Nov 2012 16:22:40 +0000 (17:22 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 21 Nov 2012 15:36:50 +0000 (16:36 +0100)
commitbb5e45d0a06f7d0e6c71e04166894b41e2df665b
treed327caed94b9cf6c79888507e881cb544cc4691b
parent537efea52b43c9b8f4fdb12121ac6d0263be21fe
Made QWindowsXPStyle 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 QWindowsXPStyle directly.

Change-Id: Ib4fec35c2fcb3b5a193537a1de5b6e26fbbe0a06
Reviewed-by: Jan Arve Sæther <jan-arve.saether@digia.com>
src/widgets/styles/qstylefactory.cpp
src/widgets/styles/qwindowsvistastyle_p.h
src/widgets/styles/qwindowsvistastyle_p_p.h
src/widgets/styles/qwindowsxpstyle.cpp
src/widgets/styles/qwindowsxpstyle.h [deleted file]
src/widgets/styles/qwindowsxpstyle_p.h
src/widgets/styles/qwindowsxpstyle_p_p.h [new file with mode: 0644]
src/widgets/styles/styles.pri
tests/auto/widgets/styles/qstyle/tst_qstyle.cpp