This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Netbeans 7.4 cannot list signals and slots in "connect" statements. Qt creator do this perfectly. If you type: Q_Object::connect(object1, SIGNAL()) Autocomplete cannot show the list of signals associate with object1. This situation also is true for SLOT().
Please provide more info: - where do you invoke code completion - what do you expect in the completion list
(In reply to Alexander Simon from comment #1) > Please provide more info: > - where do you invoke code completion > - what do you expect in the completion list in qt projects and every cpp file, when you want to have this statement: QObject::connect( a, SIGNAL(textChanged(const QString&)), b, SLOT(setText(const QString&)) ); I expect after "SIGNAL(", code completion offer list of signals that can be emitted from object "a". and also after "SLOT(", expect code completion offer list of slots which belong to object "b". You know signals and slots of a class can be easily recognized when parsing .h files. Only Netbeans need to recognize type of objects a and b in SIGNAL and SLOT macros.
in qt projects and every cpp file, when you want to have this statement: QObject::connect( a, SIGNAL(textChanged(const QString&)), b, SLOT(setText(const QString&)) ); I expect after "SIGNAL(", code completion offer list of signals that can be emitted from object "a". and also after "SLOT(", expect code completion offer list of slots which belong to object "b". You know signals and slots of a class can be easily recognized when parsing .h files. Only Netbeans need to recognize type of objects a and b in SIGNAL and SLOT macros.