File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 906
906
907
907
<value-type name =" QFontInfo" expense-cost =" 1" expense-limit =" 1000" >
908
908
<modify-function signature =" operator=(QFontInfo)" remove =" all" />
909
+
910
+ <inject-code class =" pywrap-h" >
911
+ QFontInfo* new_QFontInfo() { return new QFontInfo(QFont()); }
912
+ </inject-code >
913
+
909
914
</value-type >
910
915
911
916
<value-type name =" QRadialGradient" polymorphic-id-expression =" %1-> type() == QGradient::RadialGradient" >
@@ -1128,7 +1133,11 @@ PyObject* constScanLine(QImage* image, int line) {
1128
1133
1129
1134
<modify-function signature =" operator=(QFontMetrics)" remove =" all" />
1130
1135
1131
- <modify-function signature =" QFontMetrics(QFontMetrics)" remove =" all" />
1136
+ <inject-code class =" pywrap-h" >
1137
+ QFontMetrics* new_QFontMetrics() { return new QFontMetrics(QFont()); }
1138
+ </inject-code >
1139
+
1140
+ <!-- <modify-function signature="QFontMetrics(QFontMetrics)" remove="all"/> -->
1132
1141
<modify-function signature =" operator==(QFontMetrics)const" remove =" all" />
1133
1142
<modify-function signature =" operator!=(QFontMetrics)const" remove =" all" />
1134
1143
</value-type >
You can’t perform that action at this time.
0 commit comments