Obsolete Members for PortalGroupListModel

The following members of QML type PortalGroupListModel are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.

Signals

Methods

  • void append(PortalGroup portalGroup) (obsolete)
  • void clear() (obsolete)
  • void insert(int index, PortalGroup portalGroup) (obsolete)
  • void move(int from, int to) (obsolete)
  • void remove(int index, int count) (obsolete)

Signal Documentation

portalGroupAdded(int index)

This signal is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

Signal emitted when a PortalGroup is added to the list model.

index is the index of the added PortalGroup. Use itemAdded(int index)

Note: The corresponding handler is onPortalGroupAdded.


portalGroupRemoved(int index)

This signal is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

Signal emitted when a PortalGroup is removed from the list model.

index is the index of the removed PortalGroup. Use itemRemoved(int index)

Note: The corresponding handler is onPortalGroupRemoved.


Method Documentation

void append(PortalGroup portalGroup)

This method is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

Appends a PortalGroup portalGroup to the list model.

This method only affects the local instance of this list model class. This method will not add a group to the online portal.


void clear()

This method is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

Removes all groups from the list model.


void insert(int index, PortalGroup portalGroup)

This method is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

Inserts a PortalGroup portalGroup at the specified index in the list.

This method only affects the local instance of this list model class. This method will not add a group to the online portal.


void move(int from, int to)

This method is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

Moves one PortalGroup from an index in the list model to a different index.

This method only affects the local instance of this list model class. This method will move a group in the online portal.


void remove(int index, int count = 1)

This method is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

Removes one or more objects starting at the specified index.

  • index Index of first object to remove.
  • count Number of objects to remove. This parameter defaults to 1.

This method only affects the local instance of this list model class. This method will not remove a group from the online portal.


Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.