Hi,

Is there a way to call a base item's overridden function?

<ItemA.qml>

Item {
    function foo() {
        console.log("ItemA.foo");
    }
}

<ItemB.qml>

ItemA {
    function foo() {
        console.log("ItemB.foo");
        // how to call ItemA.foo from here?
        ItemA.foo(); // gives error: unknown var ItemA
    }
}

Thanks in advance,

 -Pelle
_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-qml

Reply via email to