QOrganizerItemFetchHint ClassThe QOrganizerItemFetchHint class provides hints to the manager about which organizer item information needs to be retrieved. More... #include <QOrganizerItemFetchHint>
Public Types
Public Functions
Related Non-Members
Detailed DescriptionThe QOrganizerItemFetchHint class provides hints to the manager about which organizer item information needs to be retrieved. All of the hints may be ignored at the discretion of the manager, however if a manager is able to optimize retrieval of organizer items due to hints, it may do so. If a manager ignores a hint, it must retrieve the full set of data that the hint refers to. The fetch hint contains:
Important note: if certain organizer item is retrieved with fetch hint set, normal saving will result in the loss of information that is not retrieved. Partial save should be used to avoid information loss. Member Type Documentation
flags QOrganizerItemFetchHint::OptimizationHints |
Constant | Value | Description |
---|---|---|
QOrganizerItemFetchHint::AllRequired | 0x0 | Tells the backend that all information is required. |
QOrganizerItemFetchHint::NoActionPreferences | 0x2 | Tells the backend that the client does not require retrieved organizer items to include a cache of action preferences. |
QOrganizerItemFetchHint::NoBinaryBlobs | 0x4 | Tells the backend that the client does not require retrieved organizer items to include binary blobs such as thumbnail images. |
The OptimizationHints type is a typedef for QFlags<OptimizationHint>. It stores an OR combination of OptimizationHint values.
Constructs a new organizer item fetch hint which requests that the backend fetch all information.
Constructs a new organizer item fetch hint as a copy of other.
Frees any memory in use by the fetch hint.
Returns the list of detail types that identify details which should be retrieved by the manager when fetching items.
See also setDetailTypesHint().
Returns the optimization hint flags specified by the client.
See also setOptimizationHints().
Sets the list of detail types to detailTypes that identify details which should be retrieved' by the manager when fetching items.
See also detailTypesHint().
Sets the optimization hint flags specified by the client to hints.
See also optimizationHints().
Assigns this fetch hint to the other.
Outputs hint to the debug stream dbg.