summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/qt/Qtmodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Modules/qt/Qtmodule.c')
-rw-r--r--Mac/Modules/qt/Qtmodule.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/Mac/Modules/qt/Qtmodule.c b/Mac/Modules/qt/Qtmodule.c
index 9b2a854..a0a03e2 100644
--- a/Mac/Modules/qt/Qtmodule.c
+++ b/Mac/Modules/qt/Qtmodule.c
@@ -6047,6 +6047,30 @@ void initQt()
if (Qt_Error == NULL ||
PyDict_SetItemString(d, "Error", Qt_Error) != 0)
Py_FatalError("can't initialize Qt.Error");
+ MovieController_Type.ob_type = &PyType_Type;
+ Py_INCREF(&MovieController_Type);
+ if (PyDict_SetItemString(d, "MovieControllerType", (PyObject *)&MovieController_Type) != 0)
+ Py_FatalError("can't initialize MovieControllerType");
+ TimeBase_Type.ob_type = &PyType_Type;
+ Py_INCREF(&TimeBase_Type);
+ if (PyDict_SetItemString(d, "TimeBaseType", (PyObject *)&TimeBase_Type) != 0)
+ Py_FatalError("can't initialize TimeBaseType");
+ UserData_Type.ob_type = &PyType_Type;
+ Py_INCREF(&UserData_Type);
+ if (PyDict_SetItemString(d, "UserDataType", (PyObject *)&UserData_Type) != 0)
+ Py_FatalError("can't initialize UserDataType");
+ Media_Type.ob_type = &PyType_Type;
+ Py_INCREF(&Media_Type);
+ if (PyDict_SetItemString(d, "MediaType", (PyObject *)&Media_Type) != 0)
+ Py_FatalError("can't initialize MediaType");
+ Track_Type.ob_type = &PyType_Type;
+ Py_INCREF(&Track_Type);
+ if (PyDict_SetItemString(d, "TrackType", (PyObject *)&Track_Type) != 0)
+ Py_FatalError("can't initialize TrackType");
+ Movie_Type.ob_type = &PyType_Type;
+ Py_INCREF(&Movie_Type);
+ if (PyDict_SetItemString(d, "MovieType", (PyObject *)&Movie_Type) != 0)
+ Py_FatalError("can't initialize MovieType");
}
/* ========================= End module Qt ========================== */