| 
|   | ItemModelProxy (AbstractItemModelPtr sourceModel) | 
|   | 
|   | ~ItemModelProxy () override | 
|   | 
| AbstractItemModelPtr  | sourceModel () const | 
|   | 
| virtual bool  | isFlat () const | 
|   | item traversal interface  
  | 
|   | 
| virtual bool  | hasChildren (const ModelIndex &parent) | 
|   | Or rather mightHaveChildren.  
  | 
|   | 
| virtual unsigned int  | getChildCount (const ModelIndex &parent)=0 | 
|   | Returns the number of children of the given item, an invalid index means number of top-level items.  
  | 
|   | 
| virtual ModelIndex  | getChild (const ModelIndex &parent, unsigned int index)=0 | 
|   | Returns the n-th child of an item (or n-th top-level item if parent index is invalid).  
  | 
|   | 
| virtual ModelIndex  | getParent (const ModelIndex &child)=0 | 
|   | Returns the parent of an item.  
  | 
|   | 
| virtual int  | getAttributeCount () const =0 | 
|   | Attribute discovery.  
  | 
|   | 
| virtual std::string  | getAttributeName (int index) const =0 | 
|   | Returns the name of n-th attribute. Must be overridden.  
  | 
|   | 
| virtual Variant  | getAttributeDefault (int index) const | 
|   | Returns the default value of n-th attribute.  
  | 
|   | 
| virtual int  | getAttributeIndex (const std::string &name) | 
|   | Returns the index of attribute with the given name.  
  | 
|   | 
| virtual Variant  | getData (const ModelIndex &item, int attributeIndex)=0 | 
|   | Data access.  
  | 
|   | 
| virtual bool  | setData (const ModelIndex &item, int attributeIndex, const Variant &data, void *skipListener=nullptr) | 
|   | Updates a single attribute on a single item.  
  | 
|   | 
| virtual bool  | bulkSetData (const std::vector< ModelIndex > &items, int attributeIndex, const Variant &data, void *skipListener=nullptr) | 
|   | This method will be used by views to set selection state to an attribute, so that we only get a single update notification.  
  | 
|   | 
| virtual bool  | bulkSetData (const std::vector< ModelIndex > &items, int attributeIndex, const std::vector< Variant > &data, void *skipListener=nullptr) | 
|   | This method can be used to update whole columns with varying data.  
  | 
|   | 
|   | RefCountedBase () | 
|   | Constructor.  
  | 
|   | 
|   | RefCountedBase (const RefCountedBase &) | 
|   | Explicit copy constructor.  
  | 
|   | 
| virtual void  | incRefCount () const | 
|   | Increases the reference count.  
  | 
|   | 
| virtual void  | decRefCount () const | 
|   | Decreases the reference count (object will be deleted if the reference count is decremented to 0).  
  | 
|   | 
| bool  | isRefCountedBase () const override | 
|   | Returns whether the instance is derived from RefCountedBase.  
  | 
|   | 
|   | EventSource () | 
|   | 
|   | EventSource (const EventSource &evSource) | 
|   | 
|   | ~EventSource () override | 
|   | 
| void  | addEventListener (BaseEventCallback *cb, void *userData) | 
|   | Adds event listener callback to this Base object.  
  | 
|   | 
| void  | removeEventListener (BaseEventCallback *cb, void *userData) | 
|   | Removes event listener callback from this Base object.  
  | 
|   | 
| bool  | hasEventListeners () const | 
|   | Checks whether any event listeners have been added to this Base object; this can be used to skip the sendEvent call and the potentially expensive building of the event object altogether.  
  | 
|   | 
|   | Base () | 
|   | Constructor.  
  | 
|   | 
| virtual  | ~Base () | 
|   | Destructor.  
  | 
|   | 
| virtual Base *  | deepCopy () const | 
|   | Creates a deep copy of the given object.  
  | 
|   | 
| bool  | isOfAllowedType (const std::vector< const RuntimeType * > &types) const | 
|   | Checks whether this object's type is equal to or derived from one of the types given in the argument.  
  | 
|   | 
| virtual std::string  | detailString () const | 
|   | Returns a string describing this object.  
  | 
|   | 
| virtual bool  | implementsPersistence (PersistenceInterface) const | 
|   | Override this method to declare which persistence interfaces are implemented by your derived class.  
  | 
|   | 
| virtual std::string  | persistentState () const | 
|   | Returns a string describing the object's internal state.  
  | 
|   | 
| virtual void  | setPersistentState (const std::string &state) | 
|   | Restores the object's internal state from a string that had been previously generated using persistentState().  
  | 
|   | 
| virtual void  | addStateToTree (TreeNode *) const | 
|   | Attaches the object state as children of the given parent node.  
  | 
|   | 
| virtual void  | readStateFromTree (TreeNode *) | 
|   | Reads the object state from the children of the given parent node.  
  | 
|   | 
| virtual void  | writeTo (AbstractPersistenceOutputStream *) const | 
|   | Writes the objects state to the data stream object.  
  | 
|   | 
| virtual void  | readFrom (AbstractPersistenceInputStream *, int) | 
|   | Reads the objects state from the data stream object.  
  | 
|   | 
 | 
| ModelIndex  | convertToSource (const ModelIndex &index) | 
|   | 
| ModelIndex  | convertFromSource (const ModelIndex &index) | 
|   | 
 | 
| void  | incItemRefCount (void *p) override | 
|   | Propagate to source model.  
  | 
|   | 
| void  | decItemRefCount (void *p) override | 
|   | 
|   | AbstractItemModel () | 
|   | 
| virtual bool  | rawSetData (const ModelIndex &item, int attributeIndex, const Variant &data)=0 | 
|   | This will be called by setData and bulkSetData, which will do the necessary notifications afterwards; attributeIndex does not need to be checked for valid range, this has already been done when this method is called.  
  | 
|   | 
| ModelIndex  | createIndex (void *data) | 
|   | 
| ModelIndex  | createIndex (size_t data) | 
|   | 
| virtual void  | notifyItemChanged (const ModelIndex &item, bool after, void *skipListener=nullptr) | 
|   | change notifications  
  | 
|   | 
| virtual void  | notifyItemsInserted (const ModelIndex &parent, unsigned int childIndex, unsigned int itemsInserted, bool after, void *skipListener=nullptr) | 
|   | Notifies listeners that an item gets/got additional children.  
  | 
|   | 
| virtual void  | notifyItemsRemoved (const ModelIndex &parent, unsigned int childIndex, unsigned int itemsRemoved, bool after, void *skipListener=nullptr) | 
|   | Notifies listeners that an item loses/lost additional children.  
  | 
|   | 
| virtual void  | notifyItemsDataChanged (const std::vector< ModelIndex > &items, const std::vector< int > &attributeIndices, void *skipListener=nullptr) | 
|   | Notifies listeners that attributes have changed on the given items.  
  | 
|   | 
|   | ~RefCountedBase () override | 
|   | Macro for the declaration of the runtime type system methods, defined in mlRuntimeSubClass.h.  
  | 
|   | 
| void  | sendEvent (BaseEvent *event, void *skipListener=nullptr) | 
|   | Macro for the declaration of the runtime type system methods, defined in mlRuntimeSubClass.h.  
  | 
|   | 
Definition at line 25 of file mlItemModelProxy.h.