[Kde-bindings] [Bug 308997] New: Qyoto: support for default values of parameters

Dimitar Dobrev dpldobrev at yahoo.com
Thu Oct 25 18:11:18 UTC 2012


https://bugs.kde.org/show_bug.cgi?id=308997

            Bug ID: 308997
          Severity: normal
           Version: unspecified
          Priority: NOR
          Assignee: kde-bindings at kde.org
           Summary: Qyoto: support for default values of parameters
    Classification: Unclassified
                OS: All
          Reporter: dpldobrev at yahoo.com
          Hardware: Other
            Status: NEW
         Component: general
           Product: bindings

C# has had support for default values of parameters for more than 2 years now
and so it'd be better for Qyoto to generate them where applicable instead of
overloads.

Reproducible: Always

Steps to Reproduce:
1. Generate Qyoto;
2. Look at the generated C# function corresponding to a Qt function with
default values of parameters.
Actual Results:  
There are numerous overloads so that all combinations of the Qt function (with
or without specified parameters with default values) are generated.

Expected Results:  
There is a single function with the same default values of the corresponding
parameters.

This depends on SMOKE being able to generate, either in C++ or in separate
files, these default values.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kde-bindings mailing list