[override virtual noexcept]
GeotriggerListModel::~GeotriggerListModel()
Destructor.
void GeotriggerListModel::append(Esri::ArcGISRuntime::Geotrigger *geotrigger)Appends a geotrigger to the geotrigger list model.
[override virtual]
Esri::ArcGISRuntime::Geotrigger *GeotriggerListModel::at(int index) const
Returns the geotrigger
at the specified index.
Removes all geotriggers from the list model.
List models do not take ownership of the objects they contain. Therefore, removing or clearing objects from the list model will not delete those objects. An RAII technique should be used to ensure that memory is properly deallocated.
bool GeotriggerListModel::contains(Esri::ArcGISRuntime::Geotrigger *geotrigger) constReturns true
if the list model contains the specified geotrigger.
[override virtual]
QVariant GeotriggerListModel::data(const QModelIndex &index, int role = Qt::DisplayRole) const
Reimplements: QAbstractItemModel::data(const QModelIndex &index, int role) const.
Returns the data stored under the given role for the geotrigger referenced by the index.
Returns an empty value if the specified index is out-of-range.
[signal]
void GeotriggerListModel::errorOccurred(const Esri::ArcGISRuntime::Error &error)
Signal emitted when an error occurs.
Returns the first geotrigger in the list model.
int GeotriggerListModel::indexOf(Esri::ArcGISRuntime::Geotrigger *geotrigger) constReturns the index of the geotrigger specified.
void GeotriggerListModel::insert(int index, Esri::ArcGISRuntime::Geotrigger *geotrigger)Inserts a geotrigger at a specified index in the list model.
This method appends the geotrigger to the list if the index is greater than the current list model size.
bool GeotriggerListModel::isEmpty() constReturns true
if the list model contains no geotriggers.
[signal, since Esri::ArcGISRuntime 100.15]
void GeotriggerListModel::itemAdded(int index)
Signal emitted when an item is added to the list model.
This function was introduced in Esri::ArcGISRuntime 100.15.
[signal, since Esri::ArcGISRuntime 100.15]
void GeotriggerListModel::itemRemoved(int index)
Signal emitted when an item is removed from the list model.
This function was introduced in Esri::ArcGISRuntime 100.15.
Esri::ArcGISRuntime::Geotrigger *GeotriggerListModel::last() constReturns the last geotrigger in the list model.
void GeotriggerListModel::move(int from, int to)Moves one geotrigger from an index in the list model to a different index.
void GeotriggerListModel::removeAt(int index)Removes a geotrigger at the specified index.
No geotriggers are removed if the specified index is out-of-range.
List models do not take ownership of the objects they contain. Therefore, removing or clearing objects from the list model will not delete those objects. An RAII technique should be used to ensure that memory is properly deallocated.
void GeotriggerListModel::removeOne(Esri::ArcGISRuntime::Geotrigger *geotrigger)Removes the specified geotrigger from the list model.
List models do not take ownership of the objects they contain. Therefore, removing or clearing objects from the list model will not delete those objects. An RAII technique should be used to ensure that memory is properly deallocated.
[override virtual]
int GeotriggerListModel::size() const
Returns the number of geotriggers contained in the list model.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4