Alright thanks a lot, I really understand how this works. One more thing (sorry :P). I heard it's best to dereference a pointer after the object is deleted. If you use deleteLater() is it necessary to do that? Like here:

Qt Code:
  1. myObject = new object(this);
  2.  
  3. ...
  4.  
  5. myObject->deleteLater();
  6. myObject = 0;
To copy to clipboard, switch view to plain text mode 

Or only use that with delete?

Thanks once again.