Revert "Port some deprecated methods"
This breaks the build on FreeBSD, whose QtWebEngine comes from Qt 5.12 (while the rest of Qt is 5.13).
This reverts commit 0eddf065194e9c91bf9888e18077aca9caa43d8b.