Hello, there. it's me again

I have a class HTMLWindow
Qt Code:
  1. class HTMLWindow : public QWidget
  2. {
  3. Q_OBJECT
  4. ......
  5. }
To copy to clipboard, switch view to plain text mode 


and I have a class as QApplication that manage thoses windows
Qt Code:
  1. class HTMLWindow;
  2.  
  3. class WidgetManager : public QApplication
  4. {
  5. Q_OBJECT
  6.  
  7. public:
  8. WindowManager(int &argc, char **argv);
  9. ~WindowManager();
  10.  
  11. void addWindow(void);
  12.  
  13. QList<QPointer<HTMLWindow> > WindowList;
  14.  
  15. private:
  16. QSystemTrayIcon *trayIcon;
  17. QMenu *trayIconMenu;
  18. QAction *quitAction;
  19. };
To copy to clipboard, switch view to plain text mode 

then my problem is in WindowManager::addWindow()
Qt Code:
  1. void WidgetManager::addWindow(void){
  2. HTMLWindow *newwindow = new HTMLWindow();
  3. newwindow.setGeometry(QRect(100,100,285,110)); // error1
  4. WindowList->append(newwindow); //error 2
  5. }
To copy to clipboard, switch view to plain text mode 

Error 1 is : request for member `load' in `newwindow', which is of non-class type `HTMLWindow*'
Error 2 is : base operand of `->' has non-pointer type `QList<QPointer<HTMLWindow> >'


I followed the example browser in Qt\demos\browser

when i call addWindow the newWindow is created but seems i cannot access its method


I dont find where is the problem, are the two error linked ?

thx for your help