Esempio n. 1
0
void WebFrameLoaderClient::dispatchShow()
{
    WebPage* webPage = m_frame->page();
    if (!webPage)
        return;

    webPage->show();
}
Esempio n. 2
0
QString WebPage::openPageSilently(const QString &url, const QString &step, const QString &retProp){
	WebPage *wb = new WebPage(m_pApp);
	wb->setProperty("nextStep", step);
	wb->openUrl(url, m_scriptFilename);
	wb->show();
	int a = 0;
	QString ret = wb->getProperty(retProp);
	int b = 0;
	return "";
}
Esempio n. 3
0
int main( int argc, char ** argv )
{
  // start application
  QApplication app( argc, argv, TRUE );

  // load default widget
  WebPage * mWebPage = new WebPage();
  mWebPage->show();
  mWebPage->raise();
  mWebPage->activateWindow();

  // start application event loop
  return app.exec();
}