/*! \qmlproperty string WebView::html This property holds HTML text set directly The html property can be set as a string. \qml WebView { html: "<p>This is <b>HTML</b>." } \endqml */ void QDeclarativeWebView::setHtml(const QString& html, const QUrl& baseUrl) { updateContentsSize(); if (isComponentComplete()) page()->mainFrame()->setHtml(html, baseUrl); else { d->pending = d->PendingHtml; d->pendingUrl = baseUrl; d->pendingString = html; } emit htmlChanged(); }
void BusReader::setHtml(const QString &newHtml) { s_html = newHtml; emit htmlChanged (); }
LH_WebKitHTML::LH_WebKitHTML() { html_ = new LH_Qt_QTextEdit(this,"~WebKitHTMLScript",QString(),LH_FLAG_FOCUS); connect( html_, SIGNAL(changed()), this, SLOT(htmlChanged()) ); }