QPointer only works on QObject. On the other hand, you talk about parents and children which suggests you are using QObjects. You can access the parent outside constructor via QObject::parent().