Hello,
I am enjoying QML. I wanted to confirm what I have been researching. Right now 
as it stands, if you want to extend a QML Data Model in C++ (as in the C++ Data 
Models section 
in http://doc.qt.nokia.com/4.7-snapshot/qdeclarativemodels.html#C++). You can't 
do that with a plugin (similar to the plugin example). 

And this because somewhere the plugin would need to know about the 
QDeclarativeView to call

void QDeclarativeContext::setContextProperty ( 
const QString & name, QObject * value )

So you can only extend QML Data Model by reimplementing QDeclarativeView. Am I 
correct?

Cheers,Bartosh                                    
_________________________________________________________________
MSN Dating: Find someone special. Start now.
http://go.microsoft.com/?linkid=9729707
_______________________________________________
Qt-qml mailing list
Qt-qml@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-qml

Reply via email to