1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-30 12:25:35 +02:00
cdt/qt/org.eclipse.cdt.qt.core
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 Bug 424824: Codan checker for Qt 2014-01-02 21:53:46 -05:00
schema Bug 422797 - API for retrieving QMake information from Qt project 2013-11-28 23:33:42 -05:00
src/org/eclipse/cdt Bug 422841 QtIndex API for qmlRegisterType function calls 2014-01-07 15:21:47 -05:00
templates/project Bug 418406: Qt4 and Qt5 specific HelloWorld project wizards 2013-12-03 18:51:38 -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 Bug 422797 - API for retrieving QMake information from Qt project 2013-11-28 23:33:42 -05:00
plugin.properties Fix Qt plugin's project structure 2013-12-12 11:12:13 -05:00
plugin.xml Bug 424824: Codan checker for Qt 2014-01-02 21:53:46 -05:00
pom.xml Fix Qt plugin's project structure 2013-12-12 11:12:13 -05:00