Bug 309004

Summary: Qyoto: generate QPoint(F), QSize(F) and QRect(F) as structures instead of classes
Product: [Developer tools] bindings Reporter: Dimitar Dobrev <dpldobrev>
Component: generalAssignee: kde-bindings
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: cullmann
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: All   
Latest Commit: Version Fixed In:

Description Dimitar Dobrev 2012-10-25 18:49:16 UTC
Due to the way they are used, QPoint(F), QSize(F) and QRect(F) would be more useful as structures in C# rather than as classes. Structures are faster, besides the needless calls to many underlying native calls would be eiliminated, so performance of applications using these data structures would be significantly faster.

Reproducible: Always

Steps to Reproduce:
1. Generate Qyoto and look at the QPoint(F), QSize(F) and QRect(F) data structures.
Actual Results:  
They are classes.

Expected Results:  
They are structures.

One should be careful because some functions that modify a passed in  QPoint(F), QSize(F) and QRect(F) should be generated in C# with the ref modifier for the parameter.
Comment 1 Justin Zobel 2021-03-09 05:24:42 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.
Comment 2 Christoph Cullmann 2024-05-06 18:10:06 UTC
The bindings we had are no longer maintained and got removed with either KF5 or KF6, depending on the language.