diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2020-11-09 16:47:45 +0100 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2020-11-10 10:23:55 +0000 |
commit | f95691b8afa5e73fc31ab1d654bfceb4bddb53a0 (patch) | |
tree | 311fa0972e0636850d9e1d63a1d2f2b1598d631d /tests/auto/testlib | |
parent | 48219c8231f7f9daf79f6c60a752b78c03e44a1f (diff) |
Move the remaining QSinglePointEvent ctor to protected; add source arg
QSinglePointEvent no longer has public constructors: we don't expect
users to construct instances, because it's conceptually an abstract
base class (even though some subclasses don't add more storage).
We give it a Qt::MouseEventSource argument so that m_source won't
need to be set in other subclasses. There was some hope of removing
MouseEventSource completely, but it hasn't been done, for the sake of
avoiding SC breaks.
Change-Id: Iea2946699726fb7ac98757b7b8f1b7cfdccc1449
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'tests/auto/testlib')
0 files changed, 0 insertions, 0 deletions