diff options
| author | Marc Mutz <marc.mutz@kdab.com> | 2017-02-21 13:25:43 +0100 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@kdab.com> | 2017-03-06 09:19:58 +0000 |
| commit | 51bec76d1041ef809aa0adeec041f14f6124b5ab (patch) | |
| tree | d321bbff5e07f18a7812ae0c9066c2db31b7f2bb /src/testlib/doc/snippets/code | |
| parent | d5fe06a94ebbd2652034acfb64992ea4e744a1fe (diff) | |
QLineEditPrivate: introduce SideWidgetLocation class
... as a replacement for QPair<enum, int>, and move some
repsonsibilities into it.
This avoids the repeated use of the magic number -1 to indicate
invalid locations and does away with the confusing .first and .second,
replacing them instead with proper names, .position and .index.
Change-Id: If904c5333cecf8ce3d5160ca4be9264a13a2b72a
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'src/testlib/doc/snippets/code')
0 files changed, 0 insertions, 0 deletions
