zgulser
5th April 2012, 13:30
Hi,
I have;
QObject* obj = new QObject
And I have two seperate lists that hold address of the obj.
I want to ask that, does QList clear, removeAt, removeAll etc. methods deletes the object itself or reference?
If so, how Qt deletes the obj? By keeping reference(s) on it?
Thanks
I have;
QObject* obj = new QObject
And I have two seperate lists that hold address of the obj.
I want to ask that, does QList clear, removeAt, removeAll etc. methods deletes the object itself or reference?
If so, how Qt deletes the obj? By keeping reference(s) on it?
Thanks