Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
None
-
Qt Creator 1.0, Qt Creator 1.1, Qt Creator 1.1.1, Qt Creator 1.2, Qt Creator 1.2.1, Qt Creator 1.2.90, Qt Creator 2.8.1
-
None
Description
Follow symbol under cursor or switch header/source functions in Qt Creator don't mind parameters of overloaded functions. Instead QtCreator switch to first function found.
Example:
#include <QtGui> class MyWidget : public QWidget { public: MyWidget ( QWidget * parent = 0 ) {} void hello(QString stringTest) {} void hello(int intTest) {} }; int main(int argc, char *argv[]) { QApplication app(argc, argv); MyWidget *widget = new MyWidget; widget->hello("Hello"); widget->show(); return app.exec(); }
Pressing F2 on the the hello("Hello") call will take you to hello(int intTest).
Attachments
Issue Links
- replaces
-
QTCREATORBUG-3310 Incorrect navigation over overloaded functions
- Closed
-
QTCREATORBUG-10069 Follow symbol does not work correctly for overloaded functions
- Closed
-
QTCREATORBUG-11370 Code model does not distinct overloaded methods
- Closed