Results 1 to 3 of 3

Thread: //![0]

  1. #1
    Join Date
    Apr 2009
    Posts
    206
    Thanks
    34
    Thanked 2 Times in 2 Posts

    Default //![0]

    Hello friends,

    for what are these signs://![0]

    around methods or groups of method implentation or around class definitions.

    I cannot figure it out.

    Yours,

  2. #2
    Join Date
    May 2010
    Location
    Romania
    Posts
    1,021
    Thanks
    62
    Thanked 260 Times in 246 Posts
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: //![0]

    Most likely those comments are for some tool (like doxygen) to be able to generate documentation from source code. //but this is just a guess, if you tell us where have you see those maybe some of us can give an answer to complete my guess

  3. #3
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: //![0]

    Quote Originally Posted by codeman View Post
    Hello friends,

    for what are these signs://![0]

    around methods or groups of method implentation or around class definitions.

    I cannot figure it out.

    Yours,
    It's a mark for qdoc (tool generating documentation for Qt) that allows one to extract a code snippet from source code file and place it in a specified place in the docs being generated.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.