summaryrefslogtreecommitdiffstats
path: root/examples/widgets/doc/src/undoframework.qdoc
diff options
context:
space:
mode:
authorDheerendra Purohit <[email protected]>2025-06-06 16:47:02 +0530
committerDheerendra Purohit <[email protected]>2025-06-08 16:56:07 +0000
commitb52c0dafd826d8bf1b769484260e0ca387d10929 (patch)
treef6ad8074ac451804d2e2b2690170b808c07265f5 /examples/widgets/doc/src/undoframework.qdoc
parent045eb2179ca57d6838218b0c77ed93743f985764 (diff)
Doc: Modernize QSharedDataPointer Example for Rule of ComplianceHEADdev
Replaced the manually defined copy constructor with = default to improve clarity and maintainability.Added a default copy assignment operator to ensure consistency,as copy constructor and copy assignment should be defined as a pair.Also included defaulted move constructor and move assignment operator in accordance with the rule of 6,ensuring the example is modern,complete,and suitable for educational purposes. Fixes: QTBUG-111392 Change-Id: Ia7cfccfc46182d8d9102868fc93dc0ebd9649a32 Reviewed-by: Axel Spoerl <[email protected]>
Diffstat (limited to 'examples/widgets/doc/src/undoframework.qdoc')
0 files changed, 0 insertions, 0 deletions