MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

QML LandmarkCategory Element

The LandmarkCategory element presents one landmark category. More...

This element was introduced in Mobility 1.2.

Properties

Detailed Description

This element is part of the QtMobility.location 1.1 module.

The primary source for categories is the LandmarkCategoryModel. To get Landmarks belonging to certain category(ies), LandmarkCategoryFilter may be used. Currently saving of categories is not supported.

 LandmarkCategory {
     id: myCategory
     name: "Best dive sites"
 }

See also Landmark, LandmarkModel, LandmarkCategoryModel, and QLandmarkCategory.

Property Documentation

iconSource : url

This property holds the icon source URL of the category.

This property group was introduced in Mobility 1.2.


name : string

This property holds the name of the category.

This property group was introduced in Mobility 1.2.