BookmarkListItem Class

BookmarksViewController::bookmarks. This class wraps a Bookmark for easy manipulation/inspection within an AbstractItemModel."> BookmarkListItem Class | ArcGISQtToolkit 200.0
  • BookmarkListItem
  • class Esri::ArcGISRuntime::Toolkit::BookmarkListItem

    An item contained within BookmarksViewController::bookmarks. This class wraps a Bookmark for easy manipulation/inspection within an AbstractItemModel. More...

    Header: #include <BookmarkListItem>
    Inherits: QObject

    Properties

    • name : const QString

    Public Functions

    BookmarkListItem(QObject *parent = nullptr)
    BookmarkListItem(Esri::ArcGISRuntime::Bookmark *bookmark, QObject *parent = nullptr)
    virtual ~BookmarkListItem() override
    Esri::ArcGISRuntime::Bookmark *bookmark() const
    QString name() const
    void setBookmark(Esri::ArcGISRuntime::Bookmark *bookmark)
    void setName(const QString &name)

    Signals

    Detailed Description

    Property Documentation

    [read-only] name : const QString

    Returns the name of the item.

    Access functions:

    QString name() const

    Notifier signal:

    void nameChanged()

    Member Function Documentation

    [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.

    [invokable] 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.

    [override virtual] BookmarkListItem::~BookmarkListItem()

    Destructor.

    Esri::ArcGISRuntime::Bookmark *BookmarkListItem::bookmark() const

    Returns the current bookmark.

    See also setBookmark().

    [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.

    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().

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