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

Add not yet defined function/slot from use of it.

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Duplicate
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • None
    • C/C++/Obj-C++ Support
    • None
    • This is an editing/refactring feature in Qt Creator which will apply to all platforms.

      It would be really cool to add function to a class through refactor menu the following way.

      Suppose I am writing a function which is getting longer. I decide to introduce a new small function which does part of the job. Say I want to call this function say CalculateFactorial( num ).

      Notice that I haven't added this function to the class yet but something I want to do but I already wrote it in my function where I want to call it. If I can right click on this proposed function and in refactor menu, I get the option to add this function as member function would be cool. Since it is suppose to be sub-function of sort, by default it should be protected (not public).

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

            kandeler Christian Kandeler
            xalam Shahzad
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes