Without that we cannot use these types in the template based functions of the meta type system. (QVariant) If we instantiate a QDesktopWebView or a QTouchWebView in QML but want to acess it also in C++, then we need to ask the meta type system in c++ for the type of the object.
Created attachment 112109 [details] patch for review. is there a good reason why we should not do that?
Comment on attachment 112109 [details] patch for review. Yepp, this is the place we should do it. But it should be QML_DECLARE_TYPE(QTouchWebView), to get the pointer automatically and cover the list-usecase. http://doc.qt.nokia.com/4.7-snapshot/qdeclarativeengine.html#QML_DECLARE_TYPE
Created attachment 112125 [details] patch for review.
Comment on attachment 112125 [details] patch for review. r=me
Comment on attachment 112125 [details] patch for review. Clearing flags on attachment: 112125 Committed r98337: <http://trac.webkit.org/changeset/98337>
All reviewed patches have been landed. Closing bug.