Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-83996

Improve QDoc default parameter handling for qmlmethod

    XMLWordPrintable

Details

    • 3
    • Da Vinci sprint 11

    Description

      Currently in order to use parameter marker (\a) with a default parameter in a \qmlmethod the only way to mark this parameter seems to be with both the variable name and the defaulted value. Example:

      \qmlmethod void Sample::function(int i=0) 
      \brief this is brief with an \a i=0.
      

      Optimally it should be possible to mark the parameter without the defaulted value. Example:

      \qmlmethod void Sample::function(int i=0) 
      \brief this is brief with an \a i.
      

      Attachments

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

        Activity

          People

            paulwicking Paul Wicking
            miikapernu Miika Pernu
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes