Summary: | Smoke incorrectly detects type of QFlags<type>& | ||
---|---|---|---|
Product: | [Unmaintained] bindings | Reporter: | Chris Burel <chrisburel> |
Component: | general | Assignee: | kde-bindings |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Chris Burel
2010-08-31 02:39:47 UTC
There's also a problem with the munged method name used for this. If the argument is identified as 'unsigned int&', it gets a '$' in the signature. But if it is identified as a 'QFlags<Type>&', it gets a '#'. See QStyleOption::setState in QtGui for an example. Ah, seems like this problem only occurs with fields. QStyleOption::state is actually a field with type QFlags<something>. The code for that is completely broken, as it seems. Thanks for the report, I'll hopefully fix this over the weekend. SVN commit 1173496 by arnorehn: Improve logic for QFlags. BUG:249567 M +2 -1 helpers.cpp M +1 -1 writeSmokeDataFile.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1173496 SVN commit 1173497 by arnorehn: Improve logic for QFlags. BUG:249567 M +2 -1 helpers.cpp M +1 -1 writeSmokeDataFile.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1173497 |