mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-08 02:06:01 +02:00
![]() This adds content assistants for QObject::connect function calls and Q_PROPERTY expansions. QObject::connect function calls look like: QObject::connect( sender, SIGNAL(someSignalFunction(int), receiver, SLOT(someSlotFunction(int)); The assistant provides proposals in the SIGNAL and SLOT expansions. The QObject for the corresponding type is used to create a list of signal or slot function signatures. Q_PROPERTY expansions look like: Q_PROPERTY( type name READ someFunction ... ) [The ... is a list of optional attributes.] The assistant proposes attribute names that have not yet been added. It also proposals appropriate values for the attribute. This patch also adds test cases for this feature. Change-Id: I0eb25235bb423c1cfcd743075331f90f269afea7 Signed-off-by: Andrew Eidsness <eclipse@jfront.com> Reviewed-on: https://git.eclipse.org/r/19721 Tested-by: Hudson CI Reviewed-by: Doug Schaefer <dschaefer@qnx.com> IP-Clean: Doug Schaefer <dschaefer@qnx.com> |
||
---|---|---|
.. | ||
org.eclipse.cdt.qt-feature | ||
org.eclipse.cdt.qt.core | ||
org.eclipse.cdt.qt.tests | ||
org.eclipse.cdt.qt.ui |