QPlaceIdReply ClassThe QPlaceIdReply class manages operations which return an identifier such as saving and removal operations of places and categories. More... #include <QPlaceIdReply> Inherits: QPlaceReply. This class was introduced in Qt Location 5.0. Public Types
Public Functions
Reimplemented Public Functions
Protected Functions
Additional Inherited Members
Detailed DescriptionThe QPlaceIdReply class manages operations which return an identifier such as saving and removal operations of places and categories. The QPlaceIdReply can be considered a multipurpose reply in that it can be used to save places, save categories, remove places and remove categories. In each case it returns an identifier of the place or category that was added, modified or removed. See Saving a place for an example of how to use an identifier reply. See also QPlaceManager. Member Type Documentation
|
Constant | Value | Description |
---|---|---|
QPlaceIdReply::SavePlace | 0 | The reply was created for a save place operation |
QPlaceIdReply::RemovePlace | 2 | The reply was created for a remove place operation. |
QPlaceIdReply::SaveCategory | 1 | The reply was created for a save category operation |
QPlaceIdReply::RemoveCategory | 3 | The reply was created for a remove category operation. |
Constructs a reply which contains the identifier of the object operated upon. The reply is for the given operationType and with parent.
Destroys the reply.
Returns the relevant identifier for the operation. For example for a save place operation, the identifier is that of the saved place. For a category removal operation, it is the identifier of the category that was removed.
See also setId().
Returns the operation type of the reply. This means whether this identifier reply was for a save place operation, remove category operation and so on.
Sets the identifier of the reply.
See also id().
Reimplemented from QPlaceReply::type().
Returns the type of reply.