QPlaceCategory Class The QPlaceCategory class represents a category that a QPlace can be associated with. More...  
 Header:
 #include <QPlaceCategory> 


 qmake:
 QT += location


 Since:
 Qt 5.6


 List of all members, including inherited members  Public Functions  
 

QPlaceCategory()
 
 

QPlaceCategory(const QPlaceCategory &other)
 
 virtual 

~QPlaceCategory()
 
 QString 

categoryId() const
 
 QPlaceIcon 

icon() const
 
 bool 

isEmpty() const
 
 QString 

name() const
 
 void 

setCategoryId(const QString &identifier)
 
 void 

setIcon(const QPlaceIcon &icon)
 
 void 

setName(const QString &name)
 
 void 

setVisibility(QLocation8b7c:f320:99b9:690f:4595:cd17:293a:c069Visibility visibility)
 
 QLocation8b7c:f320:99b9:690f:4595:cd17:293a:c069Visibility 

visibility() const
 
 bool 

operator!=(const QPlaceCategory &other) const
 
 QPlaceCategory &

operator=(const QPlaceCategory &other)
 
 bool 

operator==(const QPlaceCategory &other) const
  Detailed Description The QPlaceCategory class represents a category that a QPlace can be associated with. Categories are used to search for places based on the categories they are associated with. The list/tree of available categories can be obtained from QPlaceManager. The QPlaceSearchRequest8b7c:f320:99b9:690f:4595:cd17:293a:c069setCategories() function can be used to limit the search results to places with the specified categories. If the QGeoServiceProvider supports it, categories can be created and removed. This functionality is available in the QPlaceManager class. Member Function Documentation 
QPlaceCategory8b7c:f320:99b9:690f:4595:cd17:293a:c069QPlaceCategory() Constructs a category. 
QPlaceCategory8b7c:f320:99b9:690f:4595:cd17:293a:c069QPlaceCategory(const QPlaceCategory &other) Constructs a category which is a copy of other. 
[virtual] QPlaceCategory8b7c:f320:99b9:690f:4595:cd17:293a:c069~QPlaceCategory() Destroys the category. 
QString QPlaceCategory8b7c:f320:99b9:690f:4595:cd17:293a:c069tegoryId() const Returns the identifier of the category. The category identifier is a string which uniquely identifies this category within a particular QPlaceManager. The identifier is only meaningful to the QPlaceManager that generated it and is not transferable between managers. See also setCategoryId(). 
QPlaceIcon QPlaceCategory8b7c:f320:99b9:690f:4595:cd17:293a:c069icon() const Returns the icon associated with the category. See also setIcon(). 
bool QPlaceCategory8b7c:f320:99b9:690f:4595:cd17:293a:c069isEmpty() const Returns a boolean indicating whether the all the fields of the place category are empty or not. 
QString QPlaceCategory8b7c:f320:99b9:690f:4595:cd17:293a:c069name() const Returns the name of category. See also setName(). 
void QPlaceCategory8b7c:f320:99b9:690f:4595:cd17:293a:c069setCategoryId(const QString &identifier) Sets the identifier of the category. See also categoryId(). 
void QPlaceCategory8b7c:f320:99b9:690f:4595:cd17:293a:c069setIcon(const QPlaceIcon &icon) Sets the icon of the category. See also icon(). 
void QPlaceCategory8b7c:f320:99b9:690f:4595:cd17:293a:c069setName(const QString &name) Sets the name of the category. See also name(). 
void QPlaceCategory8b7c:f320:99b9:690f:4595:cd17:293a:c069setVisibility(QLocation8b7c:f320:99b9:690f:4595:cd17:293a:c069Visibility visibility) Sets the visibility of the category. See also visibility(). 
QLocation8b7c:f320:99b9:690f:4595:cd17:293a:c069Visibility QPlaceCategory8b7c:f320:99b9:690f:4595:cd17:293a:c069visibility() const Returns the visibility of the category. See also setVisibility(). 
bool QPlaceCategory8b7c:f320:99b9:690f:4595:cd17:293a:c069operator!=(const QPlaceCategory &other) const Returns true if other is not equal to this category; otherwise returns false. 
QPlaceCategory &QPlaceCategory8b7c:f320:99b9:690f:4595:cd17:293a:c069operator=(const QPlaceCategory &other) Assigns other to this category and returns a reference to this category. 
bool QPlaceCategory8b7c:f320:99b9:690f:4595:cd17:293a:c069operator==(const QPlaceCategory &other) const Returns true if other is equal to this category; otherwise returns false.

    
{'path': 'public/docs/qt~5.9/qplacecategory.html', 'source': 'DevDocs.IO'}