7#include <QtPositioning/QGeoLocation>
155bool QPlace::isEqual(
const QPlace &
other)
const noexcept
157 return ( (d_ptr.constData() ==
other.d_ptr.constData())
158 || (*d_ptr) == (*
other.d_ptr));
290 return d_ptr->
name();
341 return d_ptr->
icon();
360 return phoneNumbers.
at(0).value();
373 return faxNumbers.
at(0).value();
387 return emailAddresses.
at(0).value();
401 return QUrl(websites.
at(0).value());
563 m_contentCollections(
other.m_contentCollections),
564 m_contentCounts(
other.m_contentCounts)
625 m_categories(
other.m_categories),
626 m_location(
other.m_location),
627 m_ratings(
other.m_ratings),
628 m_supplier(
other.m_supplier),
629 m_name(
other.m_name),
630 m_placeId(
other.m_placeId),
631 m_attribution(
other.m_attribution),
632 m_extendedAttributes(
other.m_extendedAttributes),
633 m_contacts(
other.m_contacts),
634 m_visibility(
other.m_visibility),
635 m_icon(
other.m_icon),
636 m_detailsFetched(
other.m_detailsFetched)
bool isEmpty() const noexcept
const_reference at(qsizetype i) const noexcept
void append(parameter_type t)
iterator insert(const Key &key, const T &value)
T value(const Key &key, const T &defaultValue=T()) const
const_iterator cend() const
size_type remove(const Key &key)
const_iterator cbegin() const
QList< Key > keys() const
Type
Defines the type of content.
QPlaceSupplier m_supplier
QLocation::Visibility visibility() const override
void setName(const QString &name) override
QMap< QString, QPlaceAttribute > m_extendedAttributes
void setDetailsFetched(bool fetched) override
void setSupplier(const QPlaceSupplier &supplier) override
QPlacePrivate * clone() override
void setPlaceId(const QString &placeIdentifier) override
void setAttribution(const QString &attribution) override
QPlaceRatings ratings() const override
QPlaceSupplier supplier() const override
void setLocation(const QGeoLocation &location) override
QString name() const override
QList< QPlaceCategory > categories() const override
void setCategories(const QList< QPlaceCategory > &categories) override
QString placeId() const override
void setIcon(const QPlaceIcon &icon) override
void setVisibility(QLocation::Visibility visibility) override
QString attribution() const override
virtual ~QPlacePrivateDefault()
void setRatings(const QPlaceRatings &ratings) override
bool detailsFetched() const override
QList< QPlaceCategory > m_categories
QLocation::Visibility m_visibility
QMap< QString, QList< QPlaceContactDetail > > contacts() const override
QGeoLocation location() const override
QPlaceIcon icon() const override
QMap< QString, QPlaceAttribute > extendedAttributes() const override
QMap< QString, QList< QPlaceContactDetail > > m_contacts
virtual QString attribution() const =0
virtual QPlaceRatings ratings() const =0
virtual QPlaceAttribute extendedAttribute(const QString &attributeType) const
virtual void setCategories(const QList< QPlaceCategory > &categories)=0
virtual void setSupplier(const QPlaceSupplier &supplier)=0
virtual QGeoLocation location() const =0
bool operator==(const QPlacePrivate &other) const
virtual void setLocation(const QGeoLocation &location)=0
virtual QMap< QString, QPlaceAttribute > extendedAttributes() const =0
virtual QString placeId() const =0
virtual QList< QPlaceCategory > categories() const =0
virtual void setName(const QString &name)=0
virtual QMap< QString, QList< QPlaceContactDetail > > contacts() const =0
QMap< QPlaceContent::Type, int > m_contentCounts
virtual QPlaceIcon icon() const =0
virtual void setIcon(const QPlaceIcon &icon)=0
virtual bool isEmpty() const
virtual QPlaceSupplier supplier() const =0
virtual void setAttribution(const QString &attribution)=0
virtual QString name() const =0
virtual void setRatings(const QPlaceRatings &ratings)=0
virtual void setPlaceId(const QString &placeIdentifier)=0
virtual QLocation::Visibility visibility() const =0
virtual bool detailsFetched() const =0
virtual void setDetailsFetched(bool fetched)=0
virtual void setVisibility(QLocation::Visibility visibility)=0
QMap< QPlaceContent::Type, QPlaceContent::Collection > m_contentCollections
void removeExtendedAttribute(const QString &attributeType)
Remove the attribute of attributeType from the place.
void setVisibility(QLocation::Visibility visibility)
Sets the visibility of the place to visibility.
QString primaryPhone() const
Returns the primary phone number for this place.
QPlace & operator=(const QPlace &other) noexcept
Assigns other to this place and returns a reference to this place.
void setDetailsFetched(bool fetched)
Sets whether the details of this place have been fetched or not.
void setIcon(const QPlaceIcon &icon)
Sets the icon of the place.
QList< QPlaceContactDetail > contactDetails(const QString &contactType) const
Returns a list of contact details of the specified contactType.
void setContactDetails(const QString &contactType, QList< QPlaceContactDetail > details)
Sets the contact details of a specified contactType.
QLocation::Visibility visibility() const
Returns the visibility of the place.
void setCategory(const QPlaceCategory &category)
Sets a single category that this place belongs to.
void setTotalContentCount(QPlaceContent::Type type, int total)
Sets the totalCount of content objects of the given type.
void setPlaceId(const QString &identifier)
Sets the identifier of the place.
void setAttribution(const QString &attribution)
Sets the attribution string of the place.
void setRatings(const QPlaceRatings &ratings)
Sets the aggregated rating of the place.
QStringList extendedAttributeTypes() const
Returns the types of extended attributes that this place has.
void appendContactDetail(const QString &contactType, const QPlaceContactDetail &detail)
Appends a contact detail of a specified contactType.
void insertContent(QPlaceContent::Type type, const QPlaceContent::Collection &content)
Adds a collection of content of the given type to the place.
bool isEmpty() const
Returns a boolean indicating whether the all the fields of the place are empty or not.
QPlaceIcon icon() const
Returns the icon of the place.
QUrl primaryWebsite() const
Returns the primary website of the place.
QString primaryEmail() const
Returns the primary email address for this place.
void setContent(QPlaceContent::Type type, const QPlaceContent::Collection &content)
Sets a collection of content for the given type.
QList< QPlaceCategory > categories() const
Returns categories that this place belongs to.
int totalContentCount(QPlaceContent::Type type) const
Returns the total count of content objects of the given type.
QString attribution() const
Returns a rich text attribution string of the place.
void setLocation(const QGeoLocation &location)
Sets the location of the place.
QPlace()
Constructs an empty place object.
QGeoLocation location() const
Returns the location of the place.
QStringList contactTypes() const
Returns the type of contact details this place has.
void setCategories(const QList< QPlaceCategory > &categories)
Sets the categories that this place belongs to.
QPlaceAttribute extendedAttribute(const QString &attributeType) const
Returns the exteded attribute corresponding to the specified attributeType.
QPlaceSupplier supplier() const
Returns the supplier of this place.
void setExtendedAttribute(const QString &attributeType, const QPlaceAttribute &attribute)
Assigns an attribute of the given attributeType to a place.
void setSupplier(const QPlaceSupplier &supplier)
Sets the supplier of this place to supplier.
QString primaryFax() const
Returns the primary fax number for this place.
void setName(const QString &name)
Sets the name of the place.
QPlaceRatings ratings() const
Returns an aggregated rating of the place.
void removeContactDetails(const QString &contactType)
Removes all the contact details of a given contactType.
QString placeId() const
Returns the identifier of the place.
~QPlace()
Destroys this place.
QPlaceContent::Collection content(QPlaceContent::Type type) const
Returns a collection of content associated with a place.
bool detailsFetched() const
Returns true if the details of this place have been fetched, otherwise returns false.
QString name() const
Returns the name of the place.
const T * constData() const noexcept
Returns a const pointer to the shared data object.
T * data()
Returns a pointer to the shared data object.
\macro QT_RESTRICTED_CAST_FROM_ASCII
const QLoggingCategory & category()
[1]
\inmodule QtLocation \keyword QLocation Namespace
Combined button and popup list for selecting options.
DBusConnection const char DBusError DBusBusType DBusError return DBusConnection DBusHandleMessageFunction void DBusFreeFunction return DBusConnection return DBusConnection return const char DBusError return DBusConnection DBusMessage dbus_uint32_t return DBusConnection dbus_bool_t DBusConnection DBusAddWatchFunction DBusRemoveWatchFunction DBusWatchToggledFunction void DBusFreeFunction return DBusConnection DBusDispatchStatusFunction void DBusFreeFunction DBusTimeout return DBusTimeout return DBusWatch return DBusWatch unsigned int return DBusError const DBusError return const DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessageIter * iter
EGLOutputLayerEXT EGLint attribute
GLsizei GLenum * categories
#define QT_DEFINE_QSDP_SPECIALIZATION_DTOR(Class)