1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 17:05:26 +02:00
cdt/qt/org.eclipse.cdt.qt.ui
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
..
.settings Added support for Qt. Extended AddFiles template to change start/end 2013-01-12 00:57:49 -05:00
META-INF Content assistant for Qt elements 2013-12-12 14:05:53 -05:00
src/org/eclipse/cdt Bug 422841 QtIndex API for qmlRegisterType function calls 2014-01-07 15:21:47 -05:00
.classpath Added support for Qt. Extended AddFiles template to change start/end 2013-01-12 00:57:49 -05:00
.project Added support for Qt. Extended AddFiles template to change start/end 2013-01-12 00:57:49 -05:00
about.html Added support for Qt. Extended AddFiles template to change start/end 2013-01-12 00:57:49 -05:00
build.properties Clean up more of the legal files for the new features LLVM and Qt. 2013-05-30 13:33:39 -04:00
plugin.properties Fix Qt plugin's project structure 2013-12-12 11:12:13 -05:00
plugin.xml Fix Qt plugin's project structure 2013-12-12 11:12:13 -05:00
pom.xml Fix Qt plugin's project structure 2013-12-12 11:12:13 -05:00