QPlaceIdReply Class
The QPlaceIdReply class manages operations which return an identifier such as saving and removal operations of places and categories. More...
| Header: | #include <QPlaceIdReply> |
| qmake: | QT += location |
| Since: | Qt 5.6 |
| Inherits: | QPlaceReply |
This class was introduced in Qt 5.6.
Public Types
| enum | OperationType { SavePlace, RemovePlace, SaveCategory, RemoveCategory } |
Detailed Description
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
enum QPlaceIdReply::OperationType
Defines the type of operation that was used to generate this reply.
| 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. |