diff options
author | Marcelo Lira <marcelo.lira@openbossa.org> | 2009-11-03 05:23:00 -0300 |
---|---|---|
committer | Hugo Lima <hugo.lima@openbossa.org> | 2009-11-03 14:17:35 -0200 |
commit | d2cd71313d0c44eaffe4b38ab3f9ac6daa2c20cb (patch) | |
tree | 8f90c975274cc48295bc80b2cc2b34396631efb4 /PySide/QtCore/qmap_conversions.h | |
parent | c0832e4a9ad96c6b7df0f1749c764b37f7ab1bc3 (diff) |
Updated container converters to the new shiboken conversion scheme
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Diffstat (limited to 'PySide/QtCore/qmap_conversions.h')
-rw-r--r-- | PySide/QtCore/qmap_conversions.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/PySide/QtCore/qmap_conversions.h b/PySide/QtCore/qmap_conversions.h index 3977c81a9..d670605da 100644 --- a/PySide/QtCore/qmap_conversions.h +++ b/PySide/QtCore/qmap_conversions.h @@ -1,11 +1,11 @@ template <typename qmap> struct Converter_qmap { - static bool isConvertible(PyObject* pyObj) { - return PyDict_Check(pyObj); + static bool isConvertible(PyObject* pyobj) { + return PyDict_Check(pyobj); } - static PyObject* toPython(qmap map) + static PyObject* toPython(const qmap& map) { PyObject* result = PyDict_New(); |