pub fn remove_row(&mut self, index: usize)
    {
        unsafe {
            let modelindex = QModelIndex::new();
            dos_qabstractlistmodel_beginRemoveRows(self.wrapped.load(Ordering::Relaxed),
                                                   get_model_ptr(&modelindex),
                                                   index as i32,
                                                   index as i32);
            self.model.remove(index as usize);
            dos_qabstractlistmodel_endRemoveRows(self.wrapped.load(Ordering::Relaxed));
        }
    }
/// Remove a line from the model.
Remove a line from the model.
Remove a line from the model .
pub fn remove_row(&mut self, index: usize)
    {
        unsafe {
            let modelindex = QModelIndex::new();
            dos_qabstractlistmodel_beginRemoveRows(self.wrapped.load(Ordering::Relaxed),
                                                   get_model_ptr(&modelindex),
                                                   index as i32,
                                                   index as i32);
            self.model.remove(index as usize);
            dos_qabstractlistmodel_endRemoveRows(self.wrapped.load(Ordering::Relaxed));
        }
    }
pub fn remove_row ( & mut self , index : usize ) { unsafe { let modelindex = QModelIndex :: new ( ) ; dos_qabstractlistmodel_beginRemoveRows ( self . wrapped . load ( Ordering :: Relaxed ) , get_model_ptr ( & modelindex ) , index as i32 , index as i32 ) ; self . model . remove ( index as usize ) ; dos_qabstractlistmodel_endRemoveRows ( self . wrapped . load ( Ordering :: Relaxed ) ) ; } }
Remove a line from the model.
Remove a line from the model .
&mut self
index
usize
&mut self
index
usize