These methods are not in 2.0 and we do not want them in 2.1. Instead the viewport meta tag stuff should use QDesktopServices to get the device size. device-width is the width of the device when in portrait and the device-height is the width of the device when in landscape. It would be nice to have some environment variables to overwrite the values when testing mobile browsers on the desktop.
QDesktopWidget should have what we need. We just need to make sure that the geometry gives the actual screen geometry and doesn't subtract things like the cellphone status area.
Created attachment 68928 [details] Patch
Fixed (after conversation on irc) version landed in r68457
<cherry-pick-for-backport: r68457>
<cherry-pick-for-backport: r69104>
Revision r68457 cherry-picked into qtwebkit-2.1 with commit b2d63cf <http://gitorious.org/webkit/qtwebkit/commit/b2d63cf> Revision r69104 cherry-picked into qtwebkit-2.1 with commit 69b269b <http://gitorious.org/webkit/qtwebkit/commit/69b269b>