[Qt-creator] Follow symbol under cursor ignores function signature

Ernst Huber swmail01 at systest.ch
Fri Jun 12 17:23:22 CEST 2009


Ernst Huber schrieb:
> When there are several methods with same name but different signature 
> (overloaded methods) the "follow symbol under cursor" command in the 
> editor context-menu always moves to the method with no arguments.
>
> It's best to give an example.
>
> ----- Header file snippet -----
>
> public slots:
>
> void setViewDefaults() const;
>
>
> private slots:
>
>
> private: // Operations
>
>
> void setViewDefaults(ViewWindow* window) const;     <<<--- "follow 
> symbol" with cursor here will move to impl. 
> ViewsController::setViewDefaults()
>
>
> ----- Implementation file snippet -----
>
>
> void ViewsController::setViewDefaults() const
>
> {
>    ...
>
>   ViewWindow* window = ....
>
>    setViewDefaults(window);   <<<--- "follow symbol" with cursor here 
> will move to impl. ViewsController::setViewDefaults()
>    ...
>
> }
>
> void ViewsController::setViewDefaults(ViewWindow* window) const
>
> {
>    ...
> }
>
>
> ----------
>
>
> Could be a bug, couldn't it?
>
> Regards
> Ernst
>
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator
>
>
>   
Sorry, forgot these details:

Qt version 4.5.0
OS is WinXP
QtCreator version 1.0.0
Built with MinGW




More information about the Qt-creator-old mailing list