Lines Matching refs:findAll
120 QWebElementCollection list = body.findAll("p");
198 QWebElement p = m_mainFrame->documentElement().findAll("p").at(0);
268 QWebElement svg = body.findAll("*#foobar").at(0);
282 QWebElementCollection paras = body.findAll("p");
316 QWebElementCollection paras = body.findAll("p");
332 const QWebElementCollection paras = body.findAll("p");
348 foreach(QWebElement p, body.findAll("p")) {
352 QCOMPARE(body.findAll("div").count(), 4);
368 QWebElementCollection collection = body.findAll("p");
371 collection.append(body.findAll("div"));
374 collection += body.findAll("span.a");
377 QWebElementCollection all = collection + body.findAll("span.b");
421 QWebElement para = m_mainFrame->documentElement().findAll("p").at(0);
447 QWebElement firstPara = firstFrame->documentElement().findAll("p").at(0);
448 QWebElement secondPara = secondFrame->documentElement().findAll("p").at(0);
469 QWebElement p = m_mainFrame->documentElement().findAll("p").at(0);
504 p = m_mainFrame->documentElement().findAll("p").at(0);
521 p = m_mainFrame->documentElement().findAll("p").at(0);
538 p = m_mainFrame->documentElement().findAll("p").at(0);
559 p = m_mainFrame->documentElement().findAll("p").at(0);
577 p = m_mainFrame->documentElement().findAll("p").at(0);
583 p = m_mainFrame->documentElement().findAll("p").at(0);
594 QWebElement p = m_mainFrame->documentElement().findAll("p").at(0);
621 QCOMPARE(body.findAll("p").count(), 2);
623 QCOMPARE(body.findAll("p").count(), 2);
625 QCOMPARE(body.findAll("p").last().toPlainText(), QString("foo"));
628 QCOMPARE(body.findAll("p").count(), 3);
630 QCOMPARE(body.findAll("p").last().toPlainText(), QString("bar"));
632 body.prependInside(body.findAll("p").at(1).clone());
633 QCOMPARE(body.findAll("p").count(), 4);
637 QCOMPARE(body.findAll("p div").count(), 1);
641 QCOMPARE(body.findAll("p div code").count(), 1);
663 QCOMPARE(body.findAll("p").count(), 2);
664 QCOMPARE(body.findAll("div").count(), 1);
666 div.prependOutside(body.findAll("p").last().clone());
667 QCOMPARE(body.findAll("p").count(), 3);
668 QCOMPARE(body.findAll("p").at(0).toPlainText(), QString("foo"));
669 QCOMPARE(body.findAll("p").at(1).toPlainText(), QString("bar"));
670 QCOMPARE(body.findAll("p").at(2).toPlainText(), QString("bar"));
673 QCOMPARE(body.findAll("p").count(), 4);
674 QCOMPARE(body.findAll("p").at(0).toPlainText(), QString("foo"));
675 QCOMPARE(body.findAll("p").at(1).toPlainText(), QString("bar"));
676 QCOMPARE(body.findAll("p").at(2).toPlainText(), QString("foo"));
677 QCOMPARE(body.findAll("p").at(3).toPlainText(), QString("bar"));
680 QCOMPARE(body.findAll("span").count(), 1);
683 QCOMPARE(body.findAll("span").count(), 2);
684 QCOMPARE(body.findAll("span").at(0).toPlainText(), QString("hey"));
685 QCOMPARE(body.findAll("span").at(1).toPlainText(), QString("there"));
705 QCOMPARE(body.findAll("div").count(), 1);
706 QCOMPARE(body.findAll("p").count(), 3);
712 QCOMPARE(body.findAll("div").count(), 0);
713 QCOMPARE(body.findAll("p").count(), 2);
717 QCOMPARE(body.findAll("div").count(), 1);
718 QCOMPARE(body.findAll("p").count(), 3);
738 QCOMPARE(body.findAll("div").count(), 1);
739 QCOMPARE(body.findAll("p").count(), 3);
741 QCOMPARE(body.findAll("div").count(), 1);
742 QCOMPARE(body.findAll("p").count(), 2);
763 QCOMPARE(body.findAll("div").count(), 1);
764 QCOMPARE(body.findAll("span").count(), 1);
766 QCOMPARE(body.findAll("div").count(), 0);
767 QCOMPARE(body.findAll("span").count(), 2);
768 QCOMPARE(body.findAll("p").count(), 2);
771 QCOMPARE(body.findAll("p").count(), 3);
772 QCOMPARE(body.findAll("p code").count(), 1);
800 QCOMPARE(body.findAll("p b span").count(), 2);
804 QCOMPARE(body.findAll("u i").count(), 1);
808 QCOMPARE(body.findAll("div span i").count(), 2);
849 QCOMPARE(body.findAll("br").count(), 0);
851 QCOMPARE(body.findAll("div").count(), 1);
853 QCOMPARE(body.findAll("div").count(), 1);
854 QCOMPARE(body.findAll("span").count(), 2);
855 QCOMPARE(body.findAll("p").count(), 2);
858 QCOMPARE(body.findAll("code").count(), 1);
859 QCOMPARE(body.findAll("code div").count(), 1);
926 QWebElementCollection inputs = m_mainFrame->documentElement().findAll("input");