- if ( PyObject_HasAttrString( myModule , "engineIOR" ) ) {
- PyObjWrapper res( PyObject_CallMethod( myModule, (char*)"engineIOR", (char*)"" ) );
- if ( !res ) {
- PyErr_Print();
- }
- else {
- // parse the return value, result chould be string
- if ( PyString_Check( res ) ) {
- myIOR = PyString_AsString( res );
- }
- }
- }
- else if ( !CORBA::is_nil( getEngine() ) )
- myIOR = QString( getApp()->orb()->object_to_string( getEngine() ) );
+/*!
+ \brief Get the dockable windows associated with the module.
+ \param winMap output map of dockable windows in form { <window_type> : <dock_area> }
+ \sa PyModuleHelper::windows()
+*/
+void SALOME_PYQT_Module::windows( QMap<int, int>& winMap ) const
+{
+ // get list of dockable windows from helper
+ winMap = myHelper->windows();