summaryrefslogtreecommitdiffstats
path: root/tests/auto/sql/kernel/qsqldatabase/tst_databases.h
diff options
context:
space:
mode:
authorMate Barany <mate.barany@qt.io>2024-06-19 17:57:15 +0200
committerMate Barany <mate.barany@qt.io>2024-07-04 22:08:12 +0200
commitaca8235c753d673abe7442cdf8b628fe4e05c471 (patch)
tree8becf2c2deec270d91aaa672a2f01ca5ef4a8c24 /tests/auto/sql/kernel/qsqldatabase/tst_databases.h
parent31ec108dd08d6381a15e49b6fbec9337705c3b2a (diff)
Apply the PIMPL idiom to QFormDataPartBuilder
Change QFormDataBuilderPrivate to store a vector of QFormDataPartBuilderPrivates and pimplify QFormDataPartBuilder such that it stores a pointer to the QFormDataBuilderPrivate and an index into the vector. This makes it robust against QFDP::m_parts reallocations and we can make QFDBP copyable which has the benefit that if the user wants to "go back" to an earlier part, she can do so by storing the result of the original part() call by value. Found in API review. Task-number: QTBUG-125985 Pick-to: 6.8 Change-Id: I56e9018e539457e9494751bdb62509f84a680889 Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Diffstat (limited to 'tests/auto/sql/kernel/qsqldatabase/tst_databases.h')
0 files changed, 0 insertions, 0 deletions