예제 #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);
}
예제 #2
0
void WebWidget::openUrl(const QUrl &url, OpenHints hints)
{
	WebWidget *widget = clone(false, (hints & PrivateOpen));
	widget->setRequestedUrl(url, false);

	emit requestedNewWindow(widget, hints);
}
예제 #3
0
파일: main.cpp 프로젝트: alexandernst/JUAS
int main(int argc, char *argv[]){
    QApplication app(argc, argv);

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

    return app.exec();
}