diff options
author | Hugo Parente Lima <hugo.lima@openbossa.org> | 2010-06-15 20:26:24 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.lima@openbossa.org> | 2010-06-15 20:34:02 -0300 |
commit | 0eb8d670c240b5ea621dba6271139f30cc97790a (patch) | |
tree | 312c89435590558ea08f75fc909764b5cd2cfacb /PySide/QtCore/qstring_conversions.h | |
parent | 13b61ca7e55f52b501de9e028d2d7048836979ba (diff) |
Added QVariant::Type as a primitive type.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
Diffstat (limited to 'PySide/QtCore/qstring_conversions.h')
-rw-r--r-- | PySide/QtCore/qstring_conversions.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/PySide/QtCore/qstring_conversions.h b/PySide/QtCore/qstring_conversions.h index 04b46f4ea..d0006b889 100644 --- a/PySide/QtCore/qstring_conversions.h +++ b/PySide/QtCore/qstring_conversions.h @@ -1,6 +1,12 @@ namespace Shiboken { template<> +inline PyTypeObject* SbkType<QString>() +{ + return &PyUnicode_Type; +} + +template<> struct Converter<QString> { static bool checkType(PyObject* pyObj) |