Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Porting coments from a header file to a .cpp file
Forum Updated to NodeBB v4.3 + New Features

Porting coments from a header file to a .cpp file

Scheduled Pinned Locked Moved Qt Creator and other tools
4 Posts 3 Posters 1.5k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    msutherland
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mohsen
      wrote on last edited by
      #2

      more information and example needed

      1 Reply Last reply
      0
      • A Offline
        A Offline
        andre
        wrote on last edited by
        #3

        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 :-)

        1 Reply Last reply
        0
        • M Offline
          M Offline
          mohsen
          wrote on last edited by
          #4

          if Andre is true, i vote it too +

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved