title: Document Completed Signal inside qt using QAxWidget
body: <p>I'm Using qt Built-in Examples in /examples/activeqt/webbrowser, and i'm trying to use DocumentComplete SIGNAL.
  my purpose is using embedded Internet explorer inside QAxWidget and popup a message (with contetnt from the website) after DocumentComplete. NavigateComplete Signal is not good enough for me use...</p>
  <p>the code can be seen here : <a href="http://doc.qt.io/qt-5/activeqt-activeqt-webbrowser-example.html" rel="nofollow noreferrer">qt Web browser Example</a></p>
  <pre><code>class MainWindow : public QMainWindow, public Ui::MainWindow
  {
      Q_OBJECT
  public:
      MainWindow();
  
  public slots:
      void on_WebBrowser_TitleChange(const QString &amp;title);
      void on_WebBrowser_ProgressChange(int a, int b);
      void on_WebBrowser_CommandStateChange(int cmd, bool on);
      void on_WebBrowser_BeforeNavigate();
      void on_WebBrowser_NavigateComplete(const QString &amp;address);
      void on_WebBrowser_DocumentComplete(IDispatch*,QVariant&amp;)
  
      void on_actionGo_triggered();
      void on_actionNewWindow_triggered();
      void on_actionAddBookmark_triggered();
      void on_actionAbout_triggered();
      void on_actionAboutQt_triggered();
      void on_actionFileClose_triggered();
  
  private:
      QProgressBar *m_progressBar;
   
  };
  
  MainWindow::MainWindow()
  {
      setupUi(this);
    
      connect(m_addressEdit, SIGNAL(returnPressed()), actionGo, SLOT(trigger()));
  
      connect(actionBack, SIGNAL(triggered()), WebBrowser, SLOT(GoBack()));
      connect(actionForward, SIGNAL(triggered()), WebBrowser, SLOT(GoForward()));
      connect(actionStop, SIGNAL(triggered()), WebBrowser, SLOT(Stop()));
      connect(actionRefresh, SIGNAL(triggered()), WebBrowser, SLOT(Refresh()));
      connect(actionHome, SIGNAL(triggered()), WebBrowser, SLOT(GoHome()));
      connect(actionSearch, SIGNAL(triggered()), WebBrowser, SLOT(GoSearch()));
      connect(WebBrowser,SIGNAL(DocumentComplete(IDispatch*,QVariant&amp;), this, SLOT(on_WebBrowser_DocumentComplete(IDispatch*,QVariant&amp;)))
  }
  void MainWindow::on_WebBrowser_DocumentComplete(IDispatch*,QVariant&amp;)
  {
      QMessangeBox x;
      x.setText(&quot;pop-up&quot;);
      x.exec();
  }
  </code></pre>
  <p>the dubbuger says: No such slot MainWindow::on_WebBrowser_DocumentComplete(IDispatch*,QVaria‌​nt&amp;)</p>