The syntax for defining a new signal is: signal <name>[([<type> <parameter name>[, ...]])] (http://doc.qt.nokia.com/4.7-snapshot/qml-extending-types.html#adding-signals)
You're missing the type. Juha On Mon, Jan 17, 2011 at 7:14 PM, Jamil Naja <[email protected]> wrote: > Hi Guys > How can I define a signal (with arguments) in QML > I know that in QML the signal definition is as simple as: > signal mySignalName() > Tried to define the signal: > signal mySignalName(var, var) > But it didn't work. How can I do it ? > > Thanks > Jamil > _______________________________________________ > Qt-qml mailing list > [email protected] > http://lists.qt.nokia.com/mailman/listinfo/qt-qml > > _______________________________________________ Qt-qml mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt-qml
