12#include <QtCore/QAbstractItemModel>
13#include <QtQmlIntegration/QtQmlIntegration>
51 QHash<int, QByteArray>
roleNames()
const override;
58 static constexpr int TextRole = Qt::UserRole + 1;
Common base for QObject*-based item models (flat lists and trees).
void endResetModel()
Depth-counted endResetModel — only the outermost call has effect.
QHash< int, QByteArray > roleNames() const override
virtual void setDirty(bool dirty)=0
~ObjectItemModelBase() override
uint _resetModelNestingCount
void beginResetModel()
Depth-counted beginResetModel — only the outermost call has effect.
void _signalCountChangedIfNotNested()
static constexpr int ObjectRole
virtual int count() const =0
void _childDirtyChanged(bool dirty)
static constexpr int TextRole
void dirtyChanged(bool dirty)
void countChanged(int count)
virtual bool isEmpty() const