1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-24 09:25:31 +02:00
cdt/qt/org.eclipse.cdt.qt.tests
Andrew Eidsness 6873bc9001 Bug 422841 QtIndex accessor for QmlRegistrations of an IQObject
This adds an API method to IQObject that will return the list of QML
registrations for that type.

I've also renamed the previous "QmlRegistered" to "QmlRegistration"
because it makes more sense.

The main part of this patch is a change to the QtPDOMLinkage.  It now
maintains an index of the registrations that are keyed by type.  The
index is a BTree that uses the QObject name as the key and a list of QML
registration PDOMNames as the value.

The list is created in the linkage's onCreate callback.  Old names are
removed in the list's onDelete callback.

This includes a test case for this scenario and also updates the
previous tests to match the new naming.

Change-Id: I4b994a51958c848b4e2a3209165e6e6866e22270
Signed-off-by: Andrew Eidsness <eclipse@jfront.com>
Reviewed-on: https://git.eclipse.org/r/20527
Tested-by: Hudson CI
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
IP-Clean: Doug Schaefer <dschaefer@qnx.com>
2014-01-13 10:54:42 -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 accessor for QmlRegistrations of an IQObject 2014-01-13 10:54:42 -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