QPlaceContent::Type type() const
bool compare(const QPlaceContentPrivate *other) const
bool operator==(const QPlaceContent &other) const
Returns true if this content object is equivalent to other, otherwise returns false.
QVariant value(DataTag tag) const
Returns the value stored for the data tag, or an invalid QVariant if there is no data for that tag.
QPlaceContentPrivate * d_func()
~QPlaceContent()
Destroys the content object.
Type
Defines the type of content.
QPlaceContent(Type type=NoType)
Constructs an content object for type.
QPlaceContent & operator=(const QPlaceContent &other) noexcept
Assigns the other content object to this and returns a reference to this content object.
QPlaceContent::Type type() const
Returns the content type.
bool operator!=(const QPlaceContent &other) const
Returns true if this content object is not equivalent to other, otherwise returns false.
DataTag
Defines the value entry of the content object.
void setValue(DataTag tag, const QVariant &)
Sets the value stored for the data tag to value.
QList< DataTag > dataTags() const
Returns the list of data tags for which values are stored in this content objects.