pub fn clear(&mut self) {
        unsafe {
            dos_qabstractlistmodel_beginResetModel(self.wrapped.load(Ordering::Relaxed));
            self.model.clear();
            dos_qabstractlistmodel_endResetModel(self.wrapped.load(Ordering::Relaxed));
        }
    }
/// Clear all the data from the model
Clear all the data from the model
Clear all the data from the model
pub fn clear(&mut self) {
        unsafe {
            dos_qabstractlistmodel_beginResetModel(self.wrapped.load(Ordering::Relaxed));
            self.model.clear();
            dos_qabstractlistmodel_endResetModel(self.wrapped.load(Ordering::Relaxed));
        }
    }
pub fn clear ( & mut self ) { unsafe { dos_qabstractlistmodel_beginResetModel ( self . wrapped . load ( Ordering :: Relaxed ) ) ; self . model . clear ( ) ; dos_qabstractlistmodel_endResetModel ( self . wrapped . load ( Ordering :: Relaxed ) ) ; } }
Clear all the data from the model
Clear all the data from the model
&mut self
&mut self