unsafe fn paste_same_row_for_all(&self, text: &[&str], indexes: &[Ref<QModelIndex>], app_ui: &Rc<AppUI>, pack_file_contents_ui: &Rc<PackFileContentsUI>) {

        let real_cells = indexes.iter().filter_map(|index| {
            if index.column() == -1 {
                None
            } else {
                text.get(index.column() as usize).map(|text| (self.table_filter.map_to_source(*index), *text))
            }
        }).collect::<Vec<(CppBox<QModelIndex>, &str)>>();

        self.set_data_on_cells(&real_cells, 0, &[], app_ui, pack_file_contents_ui);
    }
/// This function pastes the row in the clipboard in every selected row that has the same amount of items selected as items in the clipboard we have.
This function pastes the row in the clipboard in every selected row that has the same amount of items selected as items in the clipboard we have.
This function pastes the row in the clipboard in every selected row that has the same amount of items selected as items in the clipboard we have .
unsafe fn paste_same_row_for_all(&self, text: &[&str], indexes: &[Ref<QModelIndex>], app_ui: &Rc<AppUI>, pack_file_contents_ui: &Rc<PackFileContentsUI>) {
        let real_cells = indexes.iter().filter_map(|index| {
            if index.column() == -1 {
                None
            } else {
                text.get(index.column() as usize).map(|text| (self.table_filter.map_to_source(*index), *text))
            }
        }).collect::<Vec<(CppBox<QModelIndex>, &str)>>();
        self.set_data_on_cells(&real_cells, 0, &[], app_ui, pack_file_contents_ui);
    }
unsafe fn paste_same_row_for_all ( & self , text : & [ & str ] , indexes : & [ Ref < QModelIndex > ] , app_ui : & Rc < AppUI > , pack_file_contents_ui : & Rc < PackFileContentsUI > ) { let real_cells = indexes . iter ( ) . filter_map ( | index | { if index . column ( ) == - 1 { None } else { text . get ( index . column ( ) as usize ) . map ( | text | ( self . table_filter . map_to_source ( * index ) , * text ) ) } } ) . collect :: < Vec < ( CppBox < QModelIndex > , & str ) > > ( ) ; self . set_data_on_cells ( & real_cells , 0 , & [ ] , app_ui , pack_file_contents_ui ) ; }
This function pastes the row in the clipboard in every selected row that has the same amount of items selected as items in the clipboard we have.
This function pastes the row in the clipboard in every selected row that has the same amount of items selected as items in the clipboard we have .
&self
text
&[&str]
indexes
&[Ref<QModelIndex>]
app_ui
&Rc<AppUI>
pack_file_contents_ui
&Rc<PackFileContentsUI>
&self
text
&[&str]
indexes
&[Ref<QModelIndex>]
app_ui
&Rc<AppUI>
pack_file_contents_ui
&Rc<PackFileContentsUI>