Hi, people, it's my firt post.
Im newbie, and Im problem with QMdiArea.

Qt Code:
  1. MdiChild::MdiChild()
  2. {
  3. setAttribute(Qt::WA_DeleteOnClose);
  4. isUntitled = true;
  5. }
To copy to clipboard, switch view to plain text mode 

Qt Code:
  1. mdiArea = new QMdiArea;
  2. setCentralWidget(mdiArea);
  3.  
  4. MdiChild *child = new MdiChild;
  5. mdiArea.addSubWindow(child);
  6. //mdiArea->addSubWindow(child);
To copy to clipboard, switch view to plain text mode 

anyone of the 2 options not found.
The error is: 'addSubWindow' has not been declared.

Im not understand, somebody help me?

Sorry my english.
Thz

Walter