void HTMLOutputElement::setTextContentInternal(const String& value) { ASSERT(!m_isSetTextContentInProgress); ExceptionCode ec; m_isSetTextContentInProgress = true; setTextContent(value, ec); }
void Request::requestReceived(const QString &peerAddress, const QStringList &header, const bool &is_http10, const QString &method, const QString &argument, const QHash<QString, QString> ¶msHeader, const QString &content, HttpRange *range, const int &timeSeekRangeStart, const int &timeSeekRangeEnd) { if (!replyInProgress) { replyInProgress = true; clock.start(); setPeerAddress(peerAddress); setHttp10(is_http10); setMethod(method); setArgument(argument); setTextContent(content); m_params = paramsHeader; m_range = range; m_header = header; this->timeSeekRangeStart = timeSeekRangeStart; this->timeSeekRangeEnd = timeSeekRangeEnd; emit readyToReply(method, argument, paramsHeader, isHttp10(), data(contentRole).toString(), getRange(), getTimeSeekRangeStart(), getTimeSeekRangeEnd()); if (data(argumentRole) == "description/fetch") { // new renderer is connecting to server emit newRenderer(data(peerAddressRole).toString(), getPort(), getParamHeader("USER-AGENT")); } } else { qWarning() << QString("unable to read request (socket %1), a reply is in progress.").arg(socketDescriptor()).toUtf8().constData(); } }
void SVGTRefElement::updateReferencedText() { Element* target = document()->getElementById(SVGURIReference::getTarget(href())); String textContent; if (target && target->isSVGElement()) textContent = static_cast<SVGElement*>(target)->textContent(); ExceptionCode ignore = 0; setTextContent(textContent, ignore); }
void SVGTRefElement::updateReferencedText() { Element* targetElement = ownerDocument()->getElementById(SVGURIReference::getTarget(href())); SVGElement* target = svg_dynamic_cast(targetElement); if (target) { ExceptionCode ignore = 0; setTextContent(target->textContent(), ignore); } }
void HTMLOutputElement::setTextContentInternal(const String& value) { ASSERT(!m_isSetTextContentInProgress); m_isSetTextContentInProgress = true; setTextContent(value, IGNORE_EXCEPTION); }
void HTMLAnchorElement::setText(const String& text, ExceptionCode& ec) { setTextContent(text, ec); }
void HTMLElement::setItemValueText(const String& value, ExceptionCode& ec) { setTextContent(value, ec); }