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

"Rename symbol under cursor" and "Find usage" dosen't find functions in a QObject::connect() in other classes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P2: Important P2: Important
    • Qt Creator 2.1.0-beta2
    • Qt Creator 2.1.0
    • C/C++/Obj-C++ Support
    • None
    • W7 64, Qt Creator 2.0.90 from revision 0924aaff47 (16 Sep)

      1. Select any slot function (connect should be defined in another file/class).
      2. Press Ctrl-Shift-R or Ctrl-Shift-U

      Example:

      The slot in TaskController class:
      void TaskController::slotSwitchCurrentTaskCategory(int i)

      {...}

      The connect in anoter class:
      QObject::connect(mp_signalMapper, SIGNAL(mapped(int)), Controller::TCREF, SLOT(slotSwitchCurrentTaskCategory(int)));

        1. findall.jpg
          findall.jpg
          18 kB
        2. rename.jpg
          rename.jpg
          18 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            erikv Erik Verbruggen
            imagemaster Mike
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes