Hello,
I have a class defined in C++ called RssItem and exposed to QML with
qmlRegisterType(...). In Qml I am accessing an XmlListModel and
inside the delegate I am creating a RssItem object for each item in the
model that is displayed in a listview in qml. At some point when clicking
on the item i
On Friday 11 June 2010 23:57:18 ext Cristian Daniel Stamateanu wrote:
> Hello,
> I have a class defined in C++ called RssItem and exposed to QML with
> qmlRegisterType(...). In Qml I am accessing an XmlListModel and
> inside the delegate I am creating a RssItem object for each item in the
> model t
Thanks Christian, it works like you said:
void DownloadManager::addDownload(const QString &path, const
QScriptValue & rssItemSV)
{
...
RssItem * rssItem = qobject_cast(rssItemSV.toQObject());
...
}
Regards,
Cristi
___
Qt-qml mailing list
Qt-qml@t