1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-19 15:05:36 +02:00
cdt/qt/org.eclipse.cdt.qt.tests
Andrew Eidsness 78fc903d16 Bug 422841 QtIndex API for qmlRegisterType function calls
The Qt spec includes a special function that is used to introduce C++
types to a namespace that is accessible from QML.  E.g.,

	qmlRegisterType<Q>( "uri", 1, 0, "QMLType" );

This will create a QML type called QMLType.  The type will include the
signals, slots, and invokable that are defined in the C++ class Q.  The
type is accessible in QML using the given URI and the version is 1.0.

More information is available at:

	http://qt-project.org/doc/qt-4.8/qdeclarativeengine.html

This patch adds IQmlRegisteredType, a collection of which can be
accessed from a new method in QtIndex.

This also includes new test cases for this feature.

Change-Id: I70c44d1d8d3a0594de44e692a16f7b26396e8464
Signed-off-by: Andrew Eidsness <eclipse@jfront.com>
Reviewed-on: https://git.eclipse.org/r/20347
Tested-by: Hudson CI
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
IP-Clean: Doug Schaefer <dschaefer@qnx.com>
2014-01-07 15:21:47 -05:00
..
META-INF Bug 424499: Find References does not work for Qt signals and slots 2014-01-02 21:49:38 -05:00
src/org/eclipse/cdt/qt/tests Bug 422841 QtIndex API for qmlRegisterType function calls 2014-01-07 15:21:47 -05:00
.classpath Bug 422841: Initial implementation of QtIndex 2013-11-29 14:43:41 -05:00
.project Bug 422841: Initial implementation of QtIndex 2013-11-29 14:43:41 -05:00
build.properties Bug 422841: Initial implementation of QtIndex 2013-11-29 14:43:41 -05:00
plugin.properties Fix Qt plugin's project structure 2013-12-12 11:12:13 -05:00
pom.xml Content assistant for Qt elements 2013-12-12 14:05:53 -05:00