diff options
author | Hugo Lima <hugo.lima@openbossa.org> | 2010-02-18 17:48:59 -0200 |
---|---|---|
committer | Hugo Lima <hugo.lima@openbossa.org> | 2010-02-18 18:00:49 -0200 |
commit | 3599b75f885983aa87e8ef8baf0fb2c65ef175cb (patch) | |
tree | 502649d75b4e6ebb956c7da2ba47c775166c8d79 /PySide/QtCore/qvariant_conversions.h | |
parent | 20077974e87ea27bb4710aaa89edd0bf97ba60ce (diff) |
Put all custom converters inside Shiboken namespace.
Diffstat (limited to 'PySide/QtCore/qvariant_conversions.h')
-rw-r--r-- | PySide/QtCore/qvariant_conversions.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/PySide/QtCore/qvariant_conversions.h b/PySide/QtCore/qvariant_conversions.h index 43205f006..d71516203 100644 --- a/PySide/QtCore/qvariant_conversions.h +++ b/PySide/QtCore/qvariant_conversions.h @@ -29,6 +29,7 @@ struct QMetaTypeId< PyObjectHolder > }; QT_END_NAMESPACE +namespace Shiboken { // all types are convertible to QVariant inline bool Converter<QVariant>::isConvertible(PyObject* pyobj) { @@ -81,3 +82,4 @@ inline QVariant Converter<QVariant>::toCpp(PyObject* pyobj) return QVariant(typeCode, reinterpret_cast<SbkBaseWrapper*>(pyobj)->cptr); } } +} |