Hello forum,

I have declared a class as follows:


Qt Code:
  1. class Item : public QObject, QGraphicsItem
  2. {
  3.  
  4. private:
  5.  
  6. //the following is turn also a sub-class of QObject
  7. TextGraphicsItem *m_text;
  8.  
  9.  
  10.  
  11. };
To copy to clipboard, switch view to plain text mode 


Do i have to delete explicitly m_text in the destrucor or Qt will take care of it to delete the memory?



Thanks
Sajjad