Messaging API 文档
Qt Messaging API 使我们可以搜索信息，排列信息，发送信息，提取信息数据
The Qt Messaging API enables access to messaging services to search and sort messages, send messages, retrieve message data, and launch the preferred messaging client on the system to either display an existing message, compose a new message, or respond to an existing message. Namespace
The QtMobility APIs are placed into the QtMobility namespace. This is done to facilitate the future migration of Mobility APIs into Qt. See the Quickstart guide for an example on how the namespace impacts on application development. Overview
The messaging library provides a set of APIs for accessing messaging data. Interfaces are provided to retrieve and query messages, folders and accounts, also interfaces to create, modify, and store messages are provided. A unified interface for manipulation and storage of SMS, MMS, MIME Email and TNEF Email messages is provided. Handling of messages that have only been partially retrieved is supported.
An API to access messaging services to send messages and retrieve message data is provided, as well as messaging services to compose, reply to, forward and show messages using a native application.
Notifications of addition, removal and updating of stored messages can be enabled.
The library provides unified access to the messaging data on a device including concurrent access to messaging data by multiple applications, and independence from the mechanism used to store the messaging data on the device.
On Microsoft Windows, MAPI header files are required to be installed, we recommend installing Visual Studio Express for this purpose.
On Linux QMF is required to be installed and the QMF_INCLUDEDIR and QMF_LIBDIR environment variables set to the messagingframework/src/libraries/qtopiamail and build/messagingframework/image/lib directories respectively. Reference documentation Main classes
Convenient interface for working with messages
Represents a messaging account in the messaging store
Defines the parameters used for querying a subset of all available accounts from the messaging store
Unique identifier for a QMessageAccount messaging account, within the scope of the messaging store
Defines the parameters used for sorting a subset of queried accounts from the messaging store
Interface for a message address
Interface for internet media (MIME) and Transport Neutral Encapsulation Format (TNEF) content that is possibly only partially retrieved
Unique identifier for QMessageContentContainer internet media (MIME) type entities, within the scope of the containing message
Contains types used in specifying the comparison of MessageStore objects with user-defined values
Defines the parameters used for querying a subset of all available messages from the messaging store
Interface for folders containing messages in the messaging store
Defines the parameters used for querying a subset of all available folders from the messaging store
Unique identifier for a QMessageFolder message folder, within the scope of the messaging store
Defines the parameters used for sorting a subset of queried folders from the messaging store
Unique identifier for a QMessage message within the scope of the messaging store
Represents the main interface for storage and retrieval of messages, folders and accounts in the system message store
The interface for requesting messaging service operations
Defines the parameters used for sorting a subset of queried messages from the messaging store Composition and Manipulation