Put all custom converters inside Shiboken namespace.

This commit is contained in:
Hugo Lima 2010-02-18 17:48:59 -02:00
commit 3599b75f88
10 changed files with 20 additions and 0 deletions

View file

@ -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);
}
}
}