From 3c0973b75a8ea8ac3339ec00f7d4c09f0ae8983f Mon Sep 17 00:00:00 2001 From: Chris Adams Date: Mon, 14 May 2012 13:01:29 +1000 Subject: Remove non-templated qobject module api registration function Previously, both templated and non-templated qobject module api registration functions were provided as public API. The non-templated version is identical to the templated version, except that bindings which access properties of module apis registered with that function cannot be optimized with v4. This commit removes the non-templated version of the function. Change-Id: Ic417aa241f1172bf6d055bdc7f528d7e9304097b Reviewed-by: Martin Jones --- src/qml/doc/src/qtqml.qdoc | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/qml/doc/src/qtqml.qdoc') diff --git a/src/qml/doc/src/qtqml.qdoc b/src/qml/doc/src/qtqml.qdoc index 7bd797e8d0..915f54e22c 100644 --- a/src/qml/doc/src/qtqml.qdoc +++ b/src/qml/doc/src/qtqml.qdoc @@ -278,15 +278,6 @@ \endqml */ -/*! - \internal - \fn int qmlRegisterModuleApi(const char *uri, int versionMajor, int versionMinor, QObject *(*callback)(QQmlEngine *, QJSEngine *)) - \deprecated - - Any uses of a module API in a binding where that module API was registered with this - function instead of the template version will result in suboptimal binding generation. - */ - /*! \fn template int qmlRegisterModuleApi(const char *uri, int versionMajor, int versionMinor, QObject *(*callback)(QQmlEngine *, QJSEngine *)) \relates QQmlEngine -- cgit v1.2.3