Home | History | Annotate | Download | only in qwebframe

Lines Matching full:child

626         foreach (QObject* child, children) {
627 if (!strcmp(child->metaObject()->className(), className)) {
628 return child;
897 // initially the object does not have the child
900 //QCOMPARE(evalJS("myObject.hasOwnProperty('child')"), sFalse);
901 QCOMPARE(evalJS("typeof myObject.child"), sUndefined);
903 // add a child
904 MyQObject* child = new MyQObject(m_myObject);
905 child->setObjectName("child");
906 // QCOMPARE(evalJS("myObject.hasOwnProperty('child')"), sTrue);
907 QCOMPARE(evalJS("typeof myObject.child != 'undefined'"), sTrue);
910 MyQObject* grandChild = new MyQObject(child);
912 // QCOMPARE(evalJS("myObject.child.hasOwnProperty('grandChild')"), sTrue);
913 QCOMPARE(evalJS("typeof myObject.child.grandChild != 'undefined'"), sTrue);
917 // QCOMPARE(evalJS("myObject.child.hasOwnProperty('grandChild')"), sFalse);
918 QCOMPARE(evalJS("typeof myObject.child.grandChild == 'undefined'"), sTrue);
920 // delete child
921 delete child;
922 // QCOMPARE(evalJS("myObject.hasOwnProperty('child')"), sFalse);
923 QCOMPARE(evalJS("typeof myObject.child == 'undefined'"), sTrue);
1758 QObject* child = new QObject(m_myObject);
1759 child->setObjectName(QLatin1String("myChildObject"));
1769 QCOMPARE(result.toQObject(), child);
1772 delete child;
1779 QObject* child = new QObject(m_myObject);
1780 child->setObjectName(QLatin1String("myChildObject"));
1792 QCOMPARE(result.property(QLatin1String("0")).toQObject(), child);
1801 QCOMPARE(result.property(QLatin1String("0")).toQObject(), child);
1821 if (o1 != child) {
1823 QCOMPARE(o2, child);
1825 QCOMPARE(o1, child);
1838 if (o == namelessChild || o == child || o == anotherChild)
1846 delete child;
2570 QObject* child = new QObject(parent);
2573 frame->addToJavaScriptWindowObject("test", child, QScriptEngine::QtOwnership);
2575 QCOMPARE(qvariant_cast<QObject*>(v), child);
2593 QPointer<QObject> child = new QObject(parent);
2594 QVERIFY(child != 0);
2598 frame->addToJavaScriptWindowObject("test", child, QScriptEngine::AutoOwnership);
2601 QVERIFY(child != 0);
2829 // call scrollRecursively over child iframe
2831 // verify child scroll position changed
2842 // verify parent and child frame's scroll postion did not change