![]()  | 
  
    Qt 6.x
    
   The Qt SDK 
   | 
 
#include <qqmladaptormodel_p.h>
 Inheritance diagram for QQmlAdaptorModel:
 Collaboration diagram for QQmlAdaptorModel:Classes | |
| class | Accessors | 
Public Attributes | |
| Accessors * | accessors | 
| QPersistentModelIndex | rootIndex | 
| QQmlListAccessor | list | 
| QV4::PersistentValue | modelStrongReference | 
| QTypeRevision | modelItemRevision = QTypeRevision::zero() | 
Additional Inherited Members | |
  Protected Types inherited from QQmlGuardImpl | |
| using | ObjectDestroyedFn = void(*)(QQmlGuardImpl *) | 
  Protected Member Functions inherited from QQmlGuardImpl | |
| ~QQmlGuardImpl () | |
| QQmlGuardImpl () | |
| QQmlGuardImpl (QObject *) | |
| QQmlGuardImpl (const QQmlGuardImpl &) | |
| void | addGuard () | 
| void | remGuard () | 
| void | setObject (QObject *g) | 
| bool | isNull () const noexcept | 
  Protected Attributes inherited from QQmlGuardImpl | |
| QObject * | o = nullptr | 
| QQmlGuardImpl * | next = nullptr | 
| QQmlGuardImpl ** | prev = nullptr | 
| ObjectDestroyedFn | objectDestroyed = nullptr | 
Definition at line 37 of file qqmladaptormodel_p.h.
| QQmlAdaptorModel::QQmlAdaptorModel | ( | ) | 
Definition at line 16 of file qqmladaptormodel.cpp.
| QQmlAdaptorModel::~QQmlAdaptorModel | ( | ) | 
Definition at line 22 of file qqmladaptormodel.cpp.
References accessors, and QQmlAdaptorModel::Accessors::cleanup().
 Here is the call graph for this function:
      
  | 
  inline | 
Definition at line 105 of file qqmladaptormodel_p.h.
Referenced by QQmlTableInstanceModel::abstractItemModel(), QQmlDelegateModelPrivate::connectToAbstractItemModel(), and QQmlDelegateModelPrivate::disconnectFromAbstractItemModel().
 Here is the caller graph for this function:
      
  | 
  inline | 
Definition at line 106 of file qqmladaptormodel_p.h.
References QQmlGuard< T >::object().
Referenced by QQmlTableInstanceModel::abstractItemModel(), VDMAbstractItemModelDataType::canFetchMore(), VDMAbstractItemModelDataType::columnCount(), QQmlDelegateModelPrivate::connectToAbstractItemModel(), QQmlDelegateModelPrivate::disconnectFromAbstractItemModel(), VDMAbstractItemModelDataType::fetchMore(), VDMAbstractItemModelDataType::get_hasModelChildren(), QQmlDMAbstractItemModelData::hasModelChildren(), VDMAbstractItemModelDataType::initializeMetaType(), VDMAbstractItemModelDataType::modelIndex(), VDMAbstractItemModelDataType::parentModelIndex(), VDMAbstractItemModelDataType::rowCount(), and VDMAbstractItemModelDataType::value().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  inline | 
Definition at line 107 of file qqmladaptormodel_p.h.
References QQmlGuard< T >::object().
 Here is the call graph for this function:
      
  | 
  inline | 
Definition at line 134 of file qqmladaptormodel_p.h.
References QQmlAdaptorModel::Accessors::canFetchMore().
Referenced by QQmlDelegateModelPrivate::requestMoreIfNecessary().
 Here is the call graph for this function:
 Here is the caller graph for this function:| int QQmlAdaptorModel::columnAt | ( | int | index | ) | const | 
Definition at line 97 of file qqmladaptormodel.cpp.
References count(), and rowCount().
Referenced by VDMAbstractItemModelDataType::modelIndex(), QQmlDMAbstractItemModelData::resolveIndex(), QQmlTableInstanceModel::reuseItem(), and VDMAbstractItemModelDataType::value().
 Here is the call graph for this function:
 Here is the caller graph for this function:| int QQmlAdaptorModel::columnCount | ( | ) | const | 
Definition at line 86 of file qqmladaptormodel.cpp.
References accessors, QQmlAdaptorModel::Accessors::columnCount(), and qMax().
Referenced by count().
 Here is the call graph for this function:
 Here is the caller graph for this function:| int QQmlAdaptorModel::count | ( | ) | const | 
Definition at line 76 of file qqmladaptormodel.cpp.
References columnCount(), and rowCount().
Referenced by columnAt(), QQmlTableInstanceModel::object(), and rowAt().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  inline | 
Definition at line 111 of file qqmladaptormodel_p.h.
References QQmlAdaptorModel::Accessors::createItem().
Referenced by QQmlDelegateModelPrivate::insert(), and QQmlDelegateModelPrivate::object().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  inline | 
Definition at line 135 of file qqmladaptormodel_p.h.
References QQmlAdaptorModel::Accessors::fetchMore().
 Here is the call graph for this function:
      
  | 
  inline | 
Definition at line 116 of file qqmladaptormodel_p.h.
References QQmlListAccessor::Instance, list, QQmlListAccessor::ListProperty, and QQmlListAccessor::ObjectList.
Referenced by QQmlDelegateModelPrivate::object().
 Here is the caller graph for this function:| int QQmlAdaptorModel::indexAt | ( | int | row, | 
| int | column | ||
| ) | const | 
Definition at line 103 of file qqmladaptormodel.cpp.
References rowCount().
Referenced by QQmlAbstractDelegateComponent::value().
 Here is the call graph for this function:
 Here is the caller graph for this function:| void QQmlAdaptorModel::invalidateModel | ( | ) | 
Definition at line 63 of file qqmladaptormodel.cpp.
References accessors, and QQmlAdaptorModel::Accessors::cleanup().
 Here is the call graph for this function:| bool QQmlAdaptorModel::isValid | ( | ) | const | 
Definition at line 71 of file qqmladaptormodel.cpp.
References accessors.
      
  | 
  inline | 
Definition at line 91 of file qqmladaptormodel_p.h.
References list.
Referenced by QQmlTableInstanceModel::model().
 Here is the caller graph for this function:
      
  | 
  inline | 
Definition at line 132 of file qqmladaptormodel_p.h.
References QQmlAdaptorModel::Accessors::modelIndex().
 Here is the call graph for this function:
      
  | 
  inline | 
Definition at line 122 of file qqmladaptormodel_p.h.
References items, and QQmlAdaptorModel::Accessors::notify().
Referenced by QQmlTableInstanceModel::reuseItem(), and QQmlDelegateModelPrivate::reuseItem().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  inline | 
Definition at line 133 of file qqmladaptormodel_p.h.
References QQmlAdaptorModel::Accessors::parentModelIndex().
 Here is the call graph for this function:
      
  | 
  inline | 
Definition at line 128 of file qqmladaptormodel_p.h.
References oldRoles, and QQmlAdaptorModel::Accessors::replaceWatchedRoles().
 Here is the call graph for this function:| int QQmlAdaptorModel::rowAt | ( | int | index | ) | const | 
Definition at line 91 of file qqmladaptormodel.cpp.
References count(), and rowCount().
Referenced by VDMAbstractItemModelDataType::modelIndex(), QQmlDMAbstractItemModelData::resolveIndex(), QQmlTableInstanceModel::reuseItem(), and VDMAbstractItemModelDataType::value().
 Here is the call graph for this function:
 Here is the caller graph for this function:| int QQmlAdaptorModel::rowCount | ( | ) | const | 
Definition at line 81 of file qqmladaptormodel.cpp.
References accessors, qMax(), and QQmlAdaptorModel::Accessors::rowCount().
Referenced by QQmlDelegateModelPrivate::adaptorModelCount(), columnAt(), count(), indexAt(), and rowAt().
 Here is the call graph for this function:
 Here is the caller graph for this function:Definition at line 27 of file qqmladaptormodel.cpp.
References accessors, QQmlAdaptorModel::Accessors::cleanup(), QV4::PersistentValue::clear(), QVariant::constData(), QQmlData::get(), QQmlListAccessor::Instance, QQmlListAccessor::Invalid, list, QQmlListAccessor::list(), QQmlListAccessor::ListProperty, modelStrongReference, QQmlListAccessor::ObjectList, QQmlListAccessor::setList(), QQmlGuard< QObject >::setObject(), QQmlListAccessor::type(), and variant.
Referenced by QQmlTableInstanceModel::setModel().
 Here is the call graph for this function:
 Here is the caller graph for this function:| void QQmlAdaptorModel::useImportVersion | ( | QTypeRevision | revision | ) | 
Definition at line 108 of file qqmladaptormodel.cpp.
References modelItemRevision.
Referenced by QQmlTableInstanceModel::useImportVersion().
 Here is the caller graph for this function:Definition at line 109 of file qqmladaptormodel_p.h.
References QQmlAdaptorModel::Accessors::value().
Referenced by QQmlAbstractDelegateComponent::value().
 Here is the call graph for this function:
 Here is the caller graph for this function:| Accessors* QQmlAdaptorModel::accessors | 
Definition at line 78 of file qqmladaptormodel_p.h.
Referenced by ~QQmlAdaptorModel(), columnCount(), invalidateModel(), isValid(), rowCount(), and setModel().
| QQmlListAccessor QQmlAdaptorModel::list | 
Definition at line 80 of file qqmladaptormodel_p.h.
Referenced by VDMListDelegateDataType::columnCount(), VDMListDelegateDataType::createItem(), VDMListDelegateDataType::metaCall(), VDMListDelegateDataType::notify(), VDMListDelegateDataType::rowCount(), setModel(), and VDMListDelegateDataType::value().
| QTypeRevision QQmlAdaptorModel::modelItemRevision = QTypeRevision::zero() | 
Definition at line 86 of file qqmladaptormodel_p.h.
Referenced by VDMAbstractItemModelDataType::initializeMetaType(), VDMListDelegateDataType::toDynamicMetaObject(), and useImportVersion().
| QV4::PersistentValue QQmlAdaptorModel::modelStrongReference | 
Definition at line 84 of file qqmladaptormodel_p.h.
Referenced by setModel().
| QPersistentModelIndex QQmlAdaptorModel::rootIndex | 
Definition at line 79 of file qqmladaptormodel_p.h.
Referenced by VDMAbstractItemModelDataType::canFetchMore(), VDMAbstractItemModelDataType::columnCount(), VDMAbstractItemModelDataType::fetchMore(), VDMAbstractItemModelDataType::get_hasModelChildren(), QQmlDMAbstractItemModelData::hasModelChildren(), VDMAbstractItemModelDataType::modelIndex(), VDMAbstractItemModelDataType::parentModelIndex(), VDMAbstractItemModelDataType::rowCount(), and VDMAbstractItemModelDataType::value().