Esempio n. 1
0
void WebWidget::openUrl(const QUrl &url, WindowsManager::OpenHints hints)
{
    WebWidget *widget = clone(false, hints.testFlag(WindowsManager::PrivateOpen));
    widget->setRequestedUrl(url, false);

    emit requestedNewWindow(widget, hints);
}
void WebWidget::openUrl(const QUrl &url, OpenHints hints)
{
	WebWidget *widget = clone(false, (hints & PrivateOpen));
	widget->setRequestedUrl(url, false);

	emit requestedNewWindow(widget, hints);
}
Esempio n. 3
0
int main(int argc, char *argv[]){
    QApplication app(argc, argv);

    app.setQuitOnLastWindowClosed(false);
    WebWidget ww;
    ww.show();

    return app.exec();
}