![]() |
Qt 6.x
The Qt SDK
|
#include <qqmldmlistaccessordata_p.h>
Inheritance diagram for VDMListDelegateDataType:
Collaboration diagram for VDMListDelegateDataType:Public Member Functions | |
| VDMListDelegateDataType (QQmlAdaptorModel *model) | |
| void | cleanup (QQmlAdaptorModel &) const override |
| int | rowCount (const QQmlAdaptorModel &model) const override |
| int | columnCount (const QQmlAdaptorModel &model) const override |
| QVariant | value (const QQmlAdaptorModel &model, int index, const QString &role) const override |
| QQmlDelegateModelItem * | createItem (QQmlAdaptorModel &model, const QQmlRefPointer< QQmlDelegateModelItemMetaType > &metaType, int index, int row, int column) override |
| bool | notify (const QQmlAdaptorModel &model, const QList< QQmlDelegateModelItem * > &items, int index, int count, const QVector< int > &) const override |
| void | objectDestroyed (QObject *) override |
| void | emitAllSignals (QQmlDMListAccessorData *accessor) const |
| int | metaCall (QObject *object, QMetaObject::Call call, int id, void **arguments) final |
| int | createProperty (const char *name, const char *) final |
| QMetaObject * | toDynamicMetaObject (QObject *accessors) final |
Public Member Functions inherited from QQmlRefCounted< VDMListDelegateDataType > | |
| void | release () const |
Public Member Functions inherited from QQmlRefCount | |
| QQmlRefCount () | |
| void | addref () const |
| int | count () const |
Public Member Functions inherited from QQmlAdaptorModel::Accessors | |
| Accessors () | |
| virtual | ~Accessors () |
| virtual int | rowCount (const QQmlAdaptorModel &) const |
| virtual int | columnCount (const QQmlAdaptorModel &) const |
| virtual void | cleanup (QQmlAdaptorModel &) const |
| virtual QVariant | value (const QQmlAdaptorModel &, int, const QString &) const |
| virtual QQmlDelegateModelItem * | createItem (QQmlAdaptorModel &, const QQmlRefPointer< QQmlDelegateModelItemMetaType > &, int, int, int) |
| virtual bool | notify (const QQmlAdaptorModel &, const QList< QQmlDelegateModelItem * > &, int, int, const QVector< int > &) const |
| virtual void | replaceWatchedRoles (QQmlAdaptorModel &, const QList< QByteArray > &, const QList< QByteArray > &) const |
| virtual QVariant | parentModelIndex (const QQmlAdaptorModel &) const |
| virtual QVariant | modelIndex (const QQmlAdaptorModel &, int) const |
| virtual bool | canFetchMore (const QQmlAdaptorModel &) const |
| virtual void | fetchMore (QQmlAdaptorModel &) const |
Public Member Functions inherited from QAbstractDynamicMetaObject | |
| ~QAbstractDynamicMetaObject () | |
| QMetaObject * | toDynamicMetaObject (QObject *) override |
| virtual int | createProperty (const char *, const char *) |
| int | metaCall (QObject *, QMetaObject::Call c, int _id, void **a) override |
| virtual int | metaCall (QMetaObject::Call, int _id, void **) |
Public Member Functions inherited from QDynamicMetaObjectData | |
| virtual | ~QDynamicMetaObjectData () |
| virtual void | objectDestroyed (QObject *) |
| virtual QMetaObject * | toDynamicMetaObject (QObject *)=0 |
| virtual int | metaCall (QObject *, QMetaObject::Call, int _id, void **)=0 |
Public Member Functions inherited from QMetaObject | |
| const char * | className () const |
| Returns the class name. | |
| const QMetaObject * | superClass () const |
| Returns the meta-object of the superclass, or \nullptr if there is no such object. | |
| bool | inherits (const QMetaObject *metaObject) const noexcept |
Returns true if the class described by this QMetaObject inherits the type described by metaObject; otherwise returns false. | |
| QObject * | cast (QObject *obj) const |
| const QObject * | cast (const QObject *obj) const |
| QString | tr (const char *s, const char *c, int n=-1) const |
| QMetaType | metaType () const |
| int | methodOffset () const |
| Returns the method offset for this class; i.e. | |
| int | enumeratorOffset () const |
| Returns the enumerator offset for this class; i.e. | |
| int | propertyOffset () const |
| Returns the property offset for this class; i.e. | |
| int | classInfoOffset () const |
| Returns the class information offset for this class; i.e. | |
| int | constructorCount () const |
| int | methodCount () const |
| Returns the number of methods in this class, including the number of methods provided by each base class. | |
| int | enumeratorCount () const |
| Returns the number of enumerators in this class. | |
| int | propertyCount () const |
| Returns the number of properties in this class, including the number of properties provided by each base class. | |
| int | classInfoCount () const |
| Returns the number of items of class information in this class. | |
| int | indexOfConstructor (const char *constructor) const |
| int | indexOfMethod (const char *method) const |
| Finds method and returns its index; otherwise returns -1. | |
| int | indexOfSignal (const char *signal) const |
| Finds signal and returns its index; otherwise returns -1. | |
| int | indexOfSlot (const char *slot) const |
| Finds slot and returns its index; otherwise returns -1. | |
| int | indexOfEnumerator (const char *name) const |
| Finds enumerator name and returns its index; otherwise returns -1. | |
| int | indexOfProperty (const char *name) const |
| Finds property name and returns its index; otherwise returns -1. | |
| int | indexOfClassInfo (const char *name) const |
| Finds class information item name and returns its index; otherwise returns -1. | |
| QMetaMethod | constructor (int index) const |
| QMetaMethod | method (int index) const |
| Returns the meta-data for the method with the given index. | |
| QMetaEnum | enumerator (int index) const |
| Returns the meta-data for the enumerator with the given index. | |
| QMetaProperty | property (int index) const |
| Returns the meta-data for the property with the given index. | |
| QMetaClassInfo | classInfo (int index) const |
| Returns the meta-data for the item of class information with the given index. | |
| QMetaProperty | userProperty () const |
| template<typename... Args> | |
| QtPrivate::Invoke::IfNotOldStyleArgs< QObject *, Args... > | newInstance (Args &&... arguments) const |
| int | static_metacall (Call, int, void **) const |
| ~Connection () | |
| Connection () | |
| Connection (const Connection &other) | |
| Connection & | operator= (const Connection &other) |
| operator RestrictedBool () const | |
| Connection (Connection &&other) noexcept | |
| void | swap (Connection &other) noexcept |
Static Public Member Functions | |
| static const QMetaObject * | metaObjectFromType (QMetaType type) |
| template<typename String > | |
| static QString | toQString (const String &string) |
| template<typename String > | |
| static QByteArray | toUtf8 (const String &string) |
| template<typename String > | |
| static QVariant | value (const QVariant *row, const String &role) |
| template<typename String > | |
| static void | setValue (QVariant *row, const String &role, const QVariant &value) |
Static Public Member Functions inherited from QMetaObject | |
| static bool | checkConnectArgs (const char *signal, const char *method) |
Returns true if the signal and method arguments are compatible; otherwise returns false. | |
| static bool | checkConnectArgs (const QMetaMethod &signal, const QMetaMethod &method) |
| static QByteArray | normalizedSignature (const char *method) |
| Normalizes the signature of the given method. | |
| static QByteArray | normalizedType (const char *type) |
| static Connection | connect (const QObject *sender, int signal_index, const QObject *receiver, int method_index, int type=0, int *types=nullptr) |
| static bool | disconnect (const QObject *sender, int signal_index, const QObject *receiver, int method_index) |
| static bool | disconnectOne (const QObject *sender, int signal_index, const QObject *receiver, int method_index) |
| static void | connectSlotsByName (QObject *o) |
| Searches recursively for all child objects of the given object, and connects matching signals from them to slots of object that follow the following form: | |
| static void | activate (QObject *sender, int signal_index, void **argv) |
| static void | activate (QObject *sender, const QMetaObject *, int local_signal_index, void **argv) |
| static void | activate (QObject *sender, int signal_offset, int local_signal_index, void **argv) |
| static bool | invokeMethod (QObject *obj, const char *member, Qt::ConnectionType, QGenericReturnArgument ret, QGenericArgument val0=QGenericArgument(nullptr), QGenericArgument val1=QGenericArgument(), QGenericArgument val2=QGenericArgument(), QGenericArgument val3=QGenericArgument(), QGenericArgument val4=QGenericArgument(), QGenericArgument val5=QGenericArgument(), QGenericArgument val6=QGenericArgument(), QGenericArgument val7=QGenericArgument(), QGenericArgument val8=QGenericArgument(), QGenericArgument val9=QGenericArgument()) |
| \threadsafe This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. \obsolete [6.5] Please use the variadic overload of this function | |
| static bool | invokeMethod (QObject *obj, const char *member, QGenericReturnArgument ret, QGenericArgument val0=QGenericArgument(nullptr), QGenericArgument val1=QGenericArgument(), QGenericArgument val2=QGenericArgument(), QGenericArgument val3=QGenericArgument(), QGenericArgument val4=QGenericArgument(), QGenericArgument val5=QGenericArgument(), QGenericArgument val6=QGenericArgument(), QGenericArgument val7=QGenericArgument(), QGenericArgument val8=QGenericArgument(), QGenericArgument val9=QGenericArgument()) |
| static bool | invokeMethod (QObject *obj, const char *member, Qt::ConnectionType type, QGenericArgument val0, QGenericArgument val1=QGenericArgument(), QGenericArgument val2=QGenericArgument(), QGenericArgument val3=QGenericArgument(), QGenericArgument val4=QGenericArgument(), QGenericArgument val5=QGenericArgument(), QGenericArgument val6=QGenericArgument(), QGenericArgument val7=QGenericArgument(), QGenericArgument val8=QGenericArgument(), QGenericArgument val9=QGenericArgument()) |
| static bool | invokeMethod (QObject *obj, const char *member, QGenericArgument val0, QGenericArgument val1=QGenericArgument(), QGenericArgument val2=QGenericArgument(), QGenericArgument val3=QGenericArgument(), QGenericArgument val4=QGenericArgument(), QGenericArgument val5=QGenericArgument(), QGenericArgument val6=QGenericArgument(), QGenericArgument val7=QGenericArgument(), QGenericArgument val8=QGenericArgument(), QGenericArgument val9=QGenericArgument()) |
| template<typename... Args> | |
| static QtPrivate::Invoke::IfNotOldStyleArgs< bool, Args... > | invokeMethod (QObject *obj, const char *member, Qt::ConnectionType c, QMetaMethodReturnArgument r, Args &&... arguments) |
| template<typename... Args> | |
| static QtPrivate::Invoke::IfNotOldStyleArgs< bool, Args... > | invokeMethod (QObject *obj, const char *member, Qt::ConnectionType c, Args &&... arguments) |
| template<typename... Args> | |
| static QtPrivate::Invoke::IfNotOldStyleArgs< bool, Args... > | invokeMethod (QObject *obj, const char *member, QMetaMethodReturnArgument r, Args &&... arguments) |
| template<typename... Args> | |
| static QtPrivate::Invoke::IfNotOldStyleArgs< bool, Args... > | invokeMethod (QObject *obj, const char *member, Args &&... arguments) |
| template<typename Func > | |
| static std::enable_if_t<!std::disjunction_v< std::is_convertible< Func, const char * >, QtPrivate::Invoke::AreOldStyleArgs< Func > >, bool > | invokeMethod (typename QtPrivate::ContextTypeForFunctor< Func >::ContextType *object, Func &&function, Qt::ConnectionType type=Qt::AutoConnection, typename QtPrivate::Callable< Func >::ReturnType *ret=nullptr) |
| template<typename Func > | |
| static std::enable_if_t<!std::disjunction_v< std::is_convertible< Func, const char * >, QtPrivate::Invoke::AreOldStyleArgs< Func > >, bool > | invokeMethod (typename QtPrivate::ContextTypeForFunctor< Func >::ContextType *object, Func &&function, typename QtPrivate::Callable< Func >::ReturnType *ret) |
| static int | metacall (QObject *, Call, int, void **) |
| template<const QMetaObject & MO> | |
| static constexpr const QMetaObject * | staticMetaObject () |
Public Attributes | |
| QMetaObjectBuilder | builder |
| QQmlAdaptorModel * | model = nullptr |
| int | propertyOffset = 0 |
| int | signalOffset = 0 |
Public Attributes inherited from QQmlAdaptorModel::Accessors | |
| QScopedPointer< QMetaObject, QScopedPointerPodDeleter > | metaObject |
| QQmlPropertyCache::ConstPtr | propertyCache |
Public Attributes inherited from QMetaObject | |
| struct QMetaObject::Data | d |
Additional Inherited Members | |
Public Types inherited from QMetaObject | |
| enum | Call { InvokeMetaMethod , ReadProperty , WriteProperty , ResetProperty , CreateInstance , IndexOfMethod , RegisterPropertyMetaType , RegisterMethodArgumentMetaType , BindableProperty , CustomCall , ConstructInPlace } |
| typedef void *Connection::* | RestrictedBool |
Protected Member Functions inherited from QQmlRefCounted< VDMListDelegateDataType > | |
| ~QQmlRefCounted () | |
Definition at line 89 of file qqmldmlistaccessordata_p.h.
|
inline |
Definition at line 95 of file qqmldmlistaccessordata_p.h.
References builder, QScopedPointer< T, Cleanup >::data(), QQmlAdaptorModel::Accessors::metaObject, QScopedPointer< T, Cleanup >::reset(), and QMetaObjectBuilder::toMetaObject().
Here is the call graph for this function:
|
inlineoverridevirtual |
Reimplemented from QQmlAdaptorModel::Accessors.
Definition at line 103 of file qqmldmlistaccessordata_p.h.
References QQmlRefCounted< VDMListDelegateDataType >::release().
Here is the call graph for this function:
|
inlineoverridevirtual |
Reimplemented from QQmlAdaptorModel::Accessors.
Definition at line 113 of file qqmldmlistaccessordata_p.h.
References QQmlListAccessor::Integer, QQmlListAccessor::Invalid, QQmlAdaptorModel::list, model, QMetaObject::propertyCount(), propertyOffset, QQmlListAccessor::StringList, QQmlListAccessor::type(), and QQmlListAccessor::UrlList.
Here is the call graph for this function:
|
inlineoverridevirtual |
Reimplemented from QQmlAdaptorModel::Accessors.
Definition at line 212 of file qqmldmlistaccessordata_p.h.
References QQmlListAccessor::at(), QQmlListAccessor::count(), QQmlAdaptorModel::list, QMetaObject::metaType(), and model.
Here is the call graph for this function:
|
finalvirtual |
Reimplemented from QAbstractDynamicMetaObject.
Definition at line 102 of file qqmldmlistaccessordata.cpp.
References QQmlAdaptorModelEngineData::addProperty(), builder, QQmlAdaptorModel::Accessors::metaObject, QMetaObject::propertyCount(), propertyOffset, QByteArrayLiteral, QScopedPointer< T, Cleanup >::reset(), and QMetaObjectBuilder::toMetaObject().
Here is the call graph for this function:| void VDMListDelegateDataType::emitAllSignals | ( | QQmlDMListAccessorData * | accessor | ) | const |
Definition at line 49 of file qqmldmlistaccessordata.cpp.
References QMetaObject::activate(), emit, i, QQmlDMListAccessorData::modelDataChanged(), QMetaObject::propertyCount(), and propertyOffset.
Here is the call graph for this function:
|
finalvirtual |
Reimplemented from QAbstractDynamicMetaObject.
Definition at line 56 of file qqmldmlistaccessordata.cpp.
References QMetaObject::activate(), argument, arguments, QQmlListAccessor::at(), emit, QQmlDelegateModelItem::index, QQmlAdaptorModel::list, model, QQmlDMListAccessorData::modelData, QQmlDMListAccessorData::modelDataChanged(), property, propertyOffset, Q_ASSERT, QMetaObject::ReadProperty, QQmlListAccessor::set(), setValue(), and QMetaObject::WriteProperty.
Here is the call graph for this function:
|
inlinestatic |
Definition at line 130 of file qqmldmlistaccessordata_p.h.
References QQmlAdaptorModel::Accessors::metaObject, QMetaObject::staticMetaObject(), and QQmlMetaType::valueType().
Referenced by setValue(), and value().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineoverridevirtual |
Reimplemented from QQmlAdaptorModel::Accessors.
Definition at line 223 of file qqmldmlistaccessordata_p.h.
References QQmlListAccessor::at(), items, QQmlAdaptorModel::list, and model.
Here is the call graph for this function:Reimplemented from QDynamicMetaObjectData.
Definition at line 237 of file qqmldmlistaccessordata_p.h.
References QQmlRefCounted< VDMListDelegateDataType >::release().
Here is the call graph for this function:
|
inlineoverridevirtual |
Reimplemented from QQmlAdaptorModel::Accessors.
Definition at line 108 of file qqmldmlistaccessordata_p.h.
References QQmlListAccessor::count(), QQmlAdaptorModel::list, and model.
Here is the call graph for this function:
|
inlinestatic |
Definition at line 187 of file qqmldmlistaccessordata_p.h.
References QMetaObject::indexOfProperty(), insert(), QQmlAdaptorModel::Accessors::metaObject, metaObjectFromType(), QMetaType::PointerToQObject, QMetaObject::property(), setProperty(), toQString(), toUtf8(), and QMetaProperty::writeOnGadget().
Referenced by metaCall(), and QQmlDMListAccessorData::setValue().
Here is the call graph for this function:
Here is the caller graph for this function:
|
finalvirtual |
Reimplemented from QAbstractDynamicMetaObject.
Definition at line 115 of file qqmldmlistaccessordata.cpp.
References QQmlPropertyCache::createStandalone(), QQmlData::get(), model, QQmlAdaptorModel::modelItemRevision, and QQmlAdaptorModel::Accessors::propertyCache.
Here is the call graph for this function:
|
inlinestatic |
Definition at line 144 of file qqmldmlistaccessordata_p.h.
References QString::fromUtf8().
Referenced by setValue(), and value().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 154 of file qqmldmlistaccessordata_p.h.
References QByteArray::constData(), and toUtf8().
Referenced by setValue(), toUtf8(), and value().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineoverridevirtual |
Reimplemented from QQmlAdaptorModel::Accessors.
Definition at line 203 of file qqmldmlistaccessordata_p.h.
References QQmlListAccessor::at(), QString::isEmpty(), QQmlAdaptorModel::list, and model.
Here is the call graph for this function:
|
inlinestatic |
Definition at line 164 of file qqmldmlistaccessordata_p.h.
References QMetaType::flags(), QMetaObject::indexOfProperty(), QQmlAdaptorModel::Accessors::metaObject, metaObjectFromType(), QMetaType::PointerToQObject, QMetaObject::property(), property, QMetaProperty::readOnGadget(), toQString(), and toUtf8().
Here is the call graph for this function:| QMetaObjectBuilder VDMListDelegateDataType::builder |
Definition at line 248 of file qqmldmlistaccessordata_p.h.
Referenced by VDMListDelegateDataType(), and createProperty().
| QQmlAdaptorModel* VDMListDelegateDataType::model = nullptr |
Definition at line 249 of file qqmldmlistaccessordata_p.h.
Referenced by columnCount(), createItem(), metaCall(), notify(), rowCount(), toDynamicMetaObject(), and value().
| int VDMListDelegateDataType::propertyOffset = 0 |
Definition at line 250 of file qqmldmlistaccessordata_p.h.
Referenced by columnCount(), createProperty(), emitAllSignals(), and metaCall().
| int VDMListDelegateDataType::signalOffset = 0 |
Definition at line 251 of file qqmldmlistaccessordata_p.h.