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.
Summary: | Qt Signal/Slot autocompletion in connecting signals to slots | ||
---|---|---|---|
Product: | cnd | Reporter: | sarigalin |
Component: | Code Completion | Assignee: | issues@cnd <issues> |
Status: | REOPENED --- | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 7.4 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
sarigalin
2013-12-04 06:02:30 UTC
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. |