Add QPlatformServices class.
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>
Wed, 8 Feb 2012 07:40:48 +0000 (08:40 +0100)
committerQt by Nokia <qt-info@nokia.com>
Fri, 10 Feb 2012 21:53:13 +0000 (22:53 +0100)
commitc908fc4448989d0319f86da35c8fa66ad1440fa2
treed3cc0c1980a0cb48b6a423478aa80c9b9af51280
parentd43a01e1496c9be16cd2e3dc290bf70e926ceb99
Add QPlatformServices class.

- Add QPlatformServices as back-end for
  QDesktopServices.
- Bring back UNIX/Linux desktop detection in platformsupport
  as a generic implementation.
- Add Windows implementation.

Reviewed-by: Morten Johan Sorvig <morten.sorvig@nokia.com>
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Reviewed-by: Anselmo Lacerda S. de Melo <anselmo.melo@openbossa.org>
Change-Id: If94bb65755df4f849edd83c57143ee2c73002137
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
21 files changed:
src/gui/kernel/kernel.pri
src/gui/kernel/qplatformintegration_qpa.cpp
src/gui/kernel/qplatformintegration_qpa.h
src/gui/kernel/qplatformservices_qpa.cpp [new file with mode: 0644]
src/gui/kernel/qplatformservices_qpa.h [moved from src/gui/util/qdesktopservices_qpa.cpp with 83% similarity]
src/gui/util/qdesktopservices.cpp
src/gui/util/qdesktopservices_mac.cpp [deleted file]
src/gui/util/qdesktopservices_win.cpp [deleted file]
src/gui/util/qdesktopservices_x11.cpp [deleted file]
src/platformsupport/platformsupport.pro
src/platformsupport/services/genericunix/genericunix.pri [new file with mode: 0644]
src/platformsupport/services/genericunix/qgenericunixservices.cpp [new file with mode: 0644]
src/platformsupport/services/genericunix/qgenericunixservices_p.h [new file with mode: 0644]
src/platformsupport/services/services.pri [new file with mode: 0644]
src/plugins/platforms/windows/qwindowsintegration.cpp
src/plugins/platforms/windows/qwindowsintegration.h
src/plugins/platforms/windows/qwindowsservices.cpp [new file with mode: 0644]
src/plugins/platforms/windows/qwindowsservices.h [new file with mode: 0644]
src/plugins/platforms/windows/windows.pro
src/plugins/platforms/xcb/qxcbintegration.cpp
src/plugins/platforms/xcb/qxcbintegration.h