An item contained within BookmarksViewController::bookmarks. This class wraps a Bookmark for easy manipulation/inspection within an AbstractItemModel. More...
| Header | #include <Bookmark |
| Inherits | QObject |
Properties
- name : const QString
Public Functions
| Bookmark | |
| Bookmark | |
| virtual | ~ |
| Esri | bookmark() const |
| QString | name() const |
| void | set |
| void | set |
Signals
| void | bookmark |
| void | name |
Detailed Description
Property Documentation
name : const QString
Returns the name of the item.
Access functions:
| QString | name() const |
Notifier signal:
| void | name |
Member Function Documentation
BookmarkListItem::BookmarkListItem (Esri::ArcGISRuntime::Bookmark *bookmark, QObject *parent = nullptr)
Constructs a new BookmarkListItem object with a given bookmark and parent.
Note: This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.
BookmarkListItem::BookmarkListItem (QObject *parent = nullptr)
Constructs a new empty BookmarkListItem object with a given parent.
Note: This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.
[signal] void BookmarkListItem::bookmarkChanged ()
Signal emitted when the bookmark changes.
[signal] void BookmarkListItem::nameChanged ()
Signal emitted when the bookmark name changes.
Note: Notifier signal for property name.
[override virtual] BookmarkListItem::~BookmarkListItem ()
Destructor.
Esri::ArcGISRuntime::Bookmark *BookmarkListItem::bookmark() const
Returns the current bookmark.
See also setBookmark().
void BookmarkListItem::setBookmark (Esri::ArcGISRuntime::Bookmark *bookmark)
Change the underlying item to bookmark.
See also bookmark().
void BookmarkListItem::setName (const QString &name)
Sets the underlying item to name.
See also name().