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

Provide better code completion for new-style connection

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • Qt Creator 4.7.0
    • C/C++/Obj-C++ Support
    • None

    Description

      I just did some new-style connections and thought that the code completion could provide more help here:

      auto thread = new QThread;
      connect(thread, // at this point, only &QThread:: members makes sense. However,
                      // I have to type "&QThread::" myself to get the member list.
                      // The same applies to the slot.

      And even after the &QThread:: prefix is written, I'd expect signals in first place, but I get all member functions here.

      Attachments

        Issue Links

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

          Activity

            People

              yvvan Ivan Donchevskii
              aha_1980 André Hartmann
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes