-
Notifications
You must be signed in to change notification settings - Fork 0
1.09
nucularmoo edited this page Mar 6, 2018
·
11 revisions
Explanation of the contents of a topic page @ Week 1 Topic 1
Objectives:
Comment: Memory management with Qt smart pointers
Comment: This is essentials of Qt. Standard smart pointers can be used, but we have corresponding Qt pointers. QScopedPointer is often used for non-Object member pointers. Destructors remains empty as with child/parent-based memory management. QPointer is useful, if the object pointer can delete the object at any time.
- What is a pointer (contnd..)
- How to deal with pointers?
- Basically everything about pointers
- What is QPointer?
- How do C pointers compare to QPointer?
- What is QScopedPointer?
- How does a scoped pointer mange an object life-time?
QPointer
QScopedPointer
Scoped Pointers from the perspective of object life-time