Source/WebKit/qt/WebCoreSupport/DumpRenderTreeSupportQt.cpp
QString DumpRenderTreeSupportQt::counterValueForElementById(QWebFrame* frame, const QString& id)
{
    Frame* coreFrame = QWebFramePrivate::core(frame);
    if (Document* document = coreFrame->document()) {
        if (Element* element = document->getElementById(id))
            return WebCore::counterValueForElement(element);
    }
    return QString();
}
// Returns the value of counter in the element specified by \a id.
Returns the value of counter in the element specified by \a id.
Returns the value of counter in the element specified by \ a id .
QString DumpRenderTreeSupportQt::counterValueForElementById(QWebFrame* frame, const QString& id)
{
    Frame* coreFrame = QWebFramePrivate::core(frame);
    if (Document* document = coreFrame->document()) {
        if (Element* element = document->getElementById(id))
            return WebCore::counterValueForElement(element);
    }
    return QString();
}
QString DumpRenderTreeSupportQt :: counterValueForElementById ( QWebFrame * frame , const QString & id ) { Frame * coreFrame = QWebFramePrivate :: core ( frame ) ; if ( Document * document = coreFrame -> document ( ) ) { if ( Element * element = document -> getElementById ( id ) ) return WebCore :: counterValueForElement ( element ) ; } return QString ( ) ; }
Returns the value of counter in the element specified by \a id.
Returns the value of counter in the element specified by \ a id .