Porting coments from a header file to a .cpp file



  • Hi All,

    Hopefully this is the correct forum for this question. I'm using QtCreator (2.4.1) to write a program and have placed code comments in my header files that due to our coding conventions now need to be translated into the .cpp files just wondering if qtcreator had this functionality built in or if there are any other tools that can help me out?

    Cheers

    Mark



  • more information and example needed



  • I guess the question is something like:

    If you have something like this:
    test.h
    @
    /**

    • Cool method documentation
      */
      void myCoolMethod();
      @

    test.cpp
    @
    void Test::myCoolMethod
    {
    // ...
    }
    @

    Can you automatically transform that to:
    test.h
    @
    void myCoolMethod();
    @

    test.cpp
    @
    /**

    • Cool method documentation
      */
      void Test::myCoolMethod
      {
      // ...
      }
      @

    Did I understand that correctly? I know of no such tool, though I guess it would be useful indeed. Sounds like a QtCreator plugin in the making :-)



  • if Andre is true, i vote it too +


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.