1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 08:55:25 +02:00
cdt/qt/org.eclipse.cdt.qt.core
Andrew Eidsness 1908efec38 qt slot/signal auto-complete
Tags signal and slot methods when the index is created.  Uses these tags
to suggest values inside of SIGNAL and SLOT macro expansions.  Enabled
only for projects with the QtNature.

Recognizes QObject::connect function calls and suggests SIGNAL(a) and
SLOT(a) for the 2nd and 4th parameters.

When expanding the SIGNAL and SLOT macros within a call to
QObject::connect, suggests signals and slots based on the type of the
previous parameter.

E.g. in

    QObjectA a;
    QObjectB b;
    QObject::connect( &a, SIGNAL(*), &b, SLOT(**) );

The content assistant will suggest the methods of type QObjectA that
have been marked as signals at *, and the methods of QObjectB that have
been marked as slots at **.

Change-Id: Ia6aaa71724547b0977e322399a500f072004767a
Reviewed-on: https://git.eclipse.org/r/10532
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
IP-Clean: Doug Schaefer <dschaefer@qnx.com>
Tested-by: Doug Schaefer <dschaefer@qnx.com>
2013-02-20 16:13:49 -05:00
..
.settings Added support for Qt. Extended AddFiles template to change start/end 2013-01-12 00:57:49 -05:00
META-INF qt slot/signal auto-complete 2013-02-20 16:13:49 -05:00
src/org/eclipse/cdt/qt qt slot/signal auto-complete 2013-02-20 16:13:49 -05:00
templates/project/helloWorld/qtQuick2 Added template process to add nature. Added Qt nature. 2013-01-17 15:27: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 Added support for Qt. Extended AddFiles template to change start/end 2013-01-12 00:57:49 -05:00
plugin.properties Added content types for .pro and .qml files for Qt. 2013-01-12 16:10:21 -05:00
plugin.xml qt slot/signal auto-complete 2013-02-20 16:13:49 -05:00