Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

QtCreator - Refactoring, adding member function definitions in .cpp file



  • I find this one of the most time-saving features of all in QtCreator, it is really fantastic!

    Is there a way of customising how the definitions are created? I simply would like to add a few comment lines like this before each definition and the "TO DO" part within the body:

    @//----------------------------------
    void MyClass::someFunction()
    {
    // TO DO...
    }@

    Is that possible?


Log in to reply