WebKit/qt/Api/qwebview.cpp
changeset 2 303757a437d3
parent 0 4f2f89ce4247
equal deleted inserted replaced
0:4f2f89ce4247 2:303757a437d3
   413                 this, SIGNAL(loadFinished(bool)));
   413                 this, SIGNAL(loadFinished(bool)));
   414         connect(d->page, SIGNAL(statusBarMessage(QString)),
   414         connect(d->page, SIGNAL(statusBarMessage(QString)),
   415                 this, SIGNAL(statusBarMessage(QString)));
   415                 this, SIGNAL(statusBarMessage(QString)));
   416         connect(d->page, SIGNAL(linkClicked(QUrl)),
   416         connect(d->page, SIGNAL(linkClicked(QUrl)),
   417                 this, SIGNAL(linkClicked(QUrl)));
   417                 this, SIGNAL(linkClicked(QUrl)));
       
   418         connect(d->page, SIGNAL(selectionChanged()),
       
   419                 this, SIGNAL(selectionChanged()));
   418 
   420 
   419         connect(d->page, SIGNAL(microFocusChanged()),
   421         connect(d->page, SIGNAL(microFocusChanged()),
   420                 this, SLOT(updateMicroFocus()));
   422                 this, SLOT(updateMicroFocus()));
   421         connect(d->page, SIGNAL(destroyed()),
   423         connect(d->page, SIGNAL(destroyed()),
   422                 this, SLOT(_q_pageDestroyed()));
   424                 this, SLOT(_q_pageDestroyed()));
   949     be the result, for example, of a JavaScript request to open a document in a new window.
   951     be the result, for example, of a JavaScript request to open a document in a new window.
   950 
   952 
   951     \note If the createWindow() method of the associated page is reimplemented, this
   953     \note If the createWindow() method of the associated page is reimplemented, this
   952     method is not called, unless explicitly done so in the reimplementation.
   954     method is not called, unless explicitly done so in the reimplementation.
   953 
   955 
   954     \sa QWebPage::createWindow()
   956     \note In the cases when the window creation is being triggered by JavaScript, apart from
       
   957     reimplementing this method application must also set the JavaScriptCanOpenWindows attribute
       
   958     of QWebSettings to true in order for it to get called.
       
   959 
       
   960     \sa QWebPage::createWindow(), QWebPage::acceptNavigationRequest()
   955 */
   961 */
   956 QWebView *QWebView::createWindow(QWebPage::WebWindowType type)
   962 QWebView *QWebView::createWindow(QWebPage::WebWindowType type)
   957 {
   963 {
   958     Q_UNUSED(type)
   964     Q_UNUSED(type)
   959     return 0;
   965     return 0;