Fixed PySide custom conversions to work with newer versions of shiboken generator.

This commit is contained in:
Hugo Lima 2010-03-15 14:46:30 -03:00
commit 781bdbe632
12 changed files with 97 additions and 163 deletions

View file

@ -1,22 +1,17 @@
namespace Shiboken
{
inline bool Converter<QStringList>::checkType(PyObject* pyObj)
{
return Converter_std_list<QStringList>::checkType(pyObj);
}
inline bool Converter<QStringList>::isConvertible(PyObject* pyObj)
{
return Converter_std_list<QStringList>::isConvertible(pyObj);
return StdListConverter<QStringList>::isConvertible(pyObj);
}
inline QStringList Converter<QStringList>::toCpp(PyObject* pyObj)
{
return Converter_std_list<QStringList>::toCpp(pyObj);
return StdListConverter<QStringList>::toCpp(pyObj);
}
inline PyObject* Converter<QStringList>::toPython(const QStringList& cppObj)
{
return Converter_std_list<QStringList>::toPython(cppObj);
return StdListConverter<QStringList>::toPython(cppObj);
}
}