Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-69

Follow symbol under cursor or switch header/source functions don't mind parameters of overloaded functions

    XMLWordPrintable

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
    • C/C++/Obj-C++ Support
    • 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

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              erikv Erik Verbruggen
              xcm Martin Petersson (Inactive)
              Votes:
              11 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes