aboutsummaryrefslogtreecommitdiffstats
path: root/PySide
diff options
context:
space:
mode:
Diffstat (limited to 'PySide')
-rw-r--r--PySide/QtGui/typesystem_gui_common.xml10
1 files changed, 8 insertions, 2 deletions
diff --git a/PySide/QtGui/typesystem_gui_common.xml b/PySide/QtGui/typesystem_gui_common.xml
index c178d1844..626c249bc 100644
--- a/PySide/QtGui/typesystem_gui_common.xml
+++ b/PySide/QtGui/typesystem_gui_common.xml
@@ -1145,7 +1145,9 @@
}
#endif
default:
- %PYARG_0 = 0;
+ {
+ %PYARG_0 = PyString_FromString("PySide.QtGui.QColor()");
+ }
}
</template>
<value-type name="QColor">
@@ -1203,7 +1205,9 @@
}
#endif
default:
- %PYARG_0 = 0;
+ {
+ %PYARG_0 = Py_BuildValue("(N(O))", PyObject_Type(%PYSELF), Py_None);
+ }
}
</inject-code>
</add-function>
@@ -1240,8 +1244,10 @@
break;
}
default:
+ {
%PYARG_0 = 0;
}
+ }
</inject-code>
</add-function>
<!-- ### "QColor(QColor::Spec)" is an internal method. -->