diff options
author | Jüri Valdmann <juri.valdmann@qt.io> | 2020-07-15 11:56:00 +0200 |
---|---|---|
committer | Jüri Valdmann <juri.valdmann@qt.io> | 2020-08-13 12:33:48 +0200 |
commit | 0c0500717e3bb329ceeef764fd6b962af10488cf (patch) | |
tree | 5abffa55b82c49f0f59e7779b4509d58d0e063a4 /tests/quicktestbrowser | |
parent | 5189f03b0078567f6a0c1fa32780314cb7451102 (diff) |
Fix almost all deprecation warnings
Replace
QString::fromUtf16({const ushort * -> const char16_t})
QMap::{unite -> insert}
Q{Hover,DragEnter,DragMove,Drop}Event::{posF() -> position()}
Q{Hover,DragEnter,DragMove,Drop}Event::{pos() -> position().toPoint()}
Q{DragEnter,Drop}Event::{mouseButtons -> buttons}
Q{DragEnter,Drop}Event::{keyboardModifiers -> modifiers}
QMouseEvent::{localPos -> position}
QMouseEvent::{windowPos -> scenePosition}
QMouseEvent::{screenPos -> globalPosition}
These should all be just renames without any change in behavior (save
for some floating point conversions). The one remaining issue concerns
the deprecation of binary JSON in qtbase, which is recommended to be
replaced with CBOR.
Change-Id: I8f3b533242fe9a58c08c2b09ff5d0bdbbfa6dd17
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'tests/quicktestbrowser')
0 files changed, 0 insertions, 0 deletions