Hello,

I have the following problem : I have a class declaring the following slot:

void RssFeedManager::addFeedEx(const QScriptValue & name,const
QScriptValue & address )
{
         bool nameIsString = name.isVariant();
         QString str = name.toString();
        ...
}

and I am calling this slot from QML

This works ok:
feedManager.addFeedEx( "whatever", addFeedView.address );

while using a binding to a property declared in addFeedView like
property string name;

feedManager.addFeedEx( addFeedView.name, addFeedView.address );

is not working.
In the c++ side I am getting a string only it is an empty one.

Any thoughts?

Best regards,
Cristian Daniel Stamateanu
_______________________________________________
Qt-qml mailing list
Qt-qml@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-qml

Reply via email to