MCPcopy Create free account
hub / github.com/FreeCAD/FreeCAD / toQObject

Method toQObject

src/Gui/PythonWrapper.cpp:600–603  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

598}
599
600QObject* PythonWrapper::toQObject(const Py::Object& pyobject)
601{
602 return qt_getCppType<QObject>(pyobject.ptr());
603}
604
605qsizetype PythonWrapper::tryEnum(PyObject* pyPtr)
606{

Callers 15

startEditMethod · 0.80
widgetMethod · 0.80
addStatusBarItemMethod · 0.80
ExpressionBindingPyMethod · 0.80
PreferencePagePythonMethod · 0.80
wrapFromWidgetFactoryFunction · 0.80
loadMethod · 0.80
createWidgetMethod · 0.80
createLayoutMethod · 0.80
createActionGroupMethod · 0.80
createActionMethod · 0.80
TaskWatcherPythonMethod · 0.80

Calls 1

ptrMethod · 0.45

Tested by

no test coverage detected