13 #ifndef ML_ITEM_MODEL_PROXY_H
14 #define ML_ITEM_MODEL_PROXY_H
31 AbstractItemModelPtr
sourceModel()
const {
return _sourceModel; }
54 AbstractItemModelPtr _sourceModel;
#define MLITEMMODEL_EXPORT
defined Header file mlItemModelSystem.h
This class represents an abstract hierarchical item model where the items have named attributes which...
BaseEvent is the base class for all events emitted from EventSourceBase.
This event tells us that the children of the item have changed completely.
ModelIndex convertToSource(const ModelIndex &index)
~ItemModelProxy() override
void incItemRefCount(void *p) override
Propagate to source model.
AbstractItemModelPtr sourceModel() const
void decItemRefCount(void *p) override
ModelIndex convertFromSource(const ModelIndex &index)
ItemModelProxy(AbstractItemModelPtr sourceModel)
This event informs about attributes that have changed their values.
This event informs about inserted items.
This event informs about removed items.
This class serves as an index into an AbstractItemModel.
#define ML_ABSTRACT_CLASS_HEADER(className)
Similar to ML_ABSTRACT_CLASS_HEADER_EXPORTED with a non-existing export symbol.
#define ML_REFCOUNTED_PTR(CLASSNAME)
Macro that defines convenience Ptr/ConstPtr typedefs to be used instead of intrusive_ptr templates.