Every widget has a parent which helps in cases of deletion, i.e. when the parent gets deleted, the child gets automatically thrown out to /dev/null.

Now I see QWidget *parent being passed to the user defined class's constructor here, in this link: http://doc.qt.nokia.com/4.7/tutorial...ook-part1.html
Qt Code:
  1. class AddressBook : public QWidget
  2. {
  3. Q_OBJECT
  4.  
  5. public:
  6. AddressBook(QWidget *parent = 0);
  7.  
  8. private:
  9. QLineEdit *nameLine;
  10. QTextEdit *addressText;
  11. };
To copy to clipboard, switch view to plain text mode 
What does this indicate? In what way is this useful?