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

Improve QDoc default parameter handling for qmlmethod

XMLWordPrintable

    • 3
    • Da Vinci sprint 11

      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.
      

        1. qtbug83966.zip
          0.6 kB
          Miika Pernu
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes