20 if (
auto&&
storage = m_storage.lock()) {
28 m_storage = newStorage;
QQmlApplicationEngine * engine() const
engine returns qml engine.
virtual void initStorage(const QWeakPointer< ModelStorage > &newStorage)
initStorage This method is called by storage object after adding model to storage.
const QWeakPointer< ModelStorage > & storage() const
storage returns storage object. this method return context of the model's storage.
the ViewSolutions namespace