| 515 | } |
| 516 | |
| 517 | static PyObject* Sbk_AppFunc_getProjectParam(PyObject* self, PyObject* pyArg) |
| 518 | { |
| 519 | AppWrapper* cppSelf = 0; |
| 520 | SBK_UNUSED(cppSelf) |
| 521 | if (!Shiboken::Object::isValid(self)) |
| 522 | return 0; |
| 523 | cppSelf = (AppWrapper*)((::App*)Shiboken::Conversions::cppPointer(SbkNatronEngineTypes[SBK_APP_IDX], (SbkObject*)self)); |
| 524 | PyObject* pyResult = 0; |
| 525 | int overloadId = -1; |
| 526 | PythonToCppFunc pythonToCpp; |
| 527 | SBK_UNUSED(pythonToCpp) |
| 528 | |
| 529 | // Overloaded function decisor |
| 530 | // 0: getProjectParam(QString)const |
| 531 | if ((pythonToCpp = Shiboken::Conversions::isPythonToCppConvertible(SbkPySide_QtCoreTypeConverters[SBK_QSTRING_IDX], (pyArg)))) { |
| 532 | overloadId = 0; // getProjectParam(QString)const |
| 533 | } |
| 534 | |
| 535 | // Function signature not found. |
| 536 | if (overloadId == -1) goto Sbk_AppFunc_getProjectParam_TypeError; |
| 537 | |
| 538 | // Call function/method |
| 539 | { |
| 540 | ::QString cppArg0 = ::QString(); |
| 541 | pythonToCpp(pyArg, &cppArg0); |
| 542 | |
| 543 | if (!PyErr_Occurred()) { |
| 544 | // getProjectParam(QString)const |
| 545 | Param * cppResult = const_cast<const ::AppWrapper*>(cppSelf)->getProjectParam(cppArg0); |
| 546 | pyResult = Shiboken::Conversions::pointerToPython((SbkObjectType*)SbkNatronEngineTypes[SBK_PARAM_IDX], cppResult); |
| 547 | |
| 548 | // Ownership transferences. |
| 549 | Shiboken::Object::getOwnership(pyResult); |
| 550 | } |
| 551 | } |
| 552 | |
| 553 | if (PyErr_Occurred() || !pyResult) { |
| 554 | Py_XDECREF(pyResult); |
| 555 | return 0; |
| 556 | } |
| 557 | return pyResult; |
| 558 | |
| 559 | Sbk_AppFunc_getProjectParam_TypeError: |
| 560 | const char* overloads[] = {"unicode", 0}; |
| 561 | Shiboken::setErrorAboutWrongArguments(pyArg, "NatronEngine.App.getProjectParam", overloads); |
| 562 | return 0; |
| 563 | } |
| 564 | |
| 565 | static PyObject* Sbk_AppFunc_getViewNames(PyObject* self) |
| 566 | { |
nothing calls this directly
no test coverage detected