| 491 | } |
| 492 | |
| 493 | static PyObject* importPySide(const std::string& moduleName) |
| 494 | { |
| 495 | std::string name = getPySideModuleName(moduleName); |
| 496 | PyObject* obj = PyImport_ImportModule(name.c_str()); |
| 497 | if (obj) { |
| 498 | return obj; |
| 499 | } |
| 500 | |
| 501 | throw Py::Exception(PyExc_ImportError, formatModuleError(name)); |
| 502 | } |
| 503 | |
| 504 | template<typename qttype> |
| 505 | qttype* qt_getCppType(PyObject* pyobj) |
no test coverage detected