Viadeo Twitter Google Bookmarks ! Facebook Digg del.icio.us MySpace Yahoo MyWeb Blinklist Netvouz Reddit Simpy StumbleUpon Bookmarks Windows Live Favorites 
Logo Documentation Qt ·  Page d'accueil  ·  Toutes les classes  ·  Toutes les fonctions  ·  Vues d'ensemble  · 

PIM Library

Overview

The Qt Extended PIM library provides a set of APIs for accessing Qt Extended PIM data. Classes are provided to retrieve, edit and save Contacts, Tasks, and Appointments. For detailed class information refer to: PIM Class Overview.

The Qt Extended PIM library provides unified access to the PIM data on a Qt Extended device including concurrent access to PIM data by multiple applications and independence from the mechanism used to store the PIM data on the device.

Concurrent Access to PIM Data

The Qt Extended PIM library provides a level of concurrent access to PIM data by multiple applications. The concurrent access does guarantee that data won't be corrupted by concurrent access, however does not give any guarantees as to performance of PIM data access if accessed concurrently by multiple applications.

Abstraction of PIM Data Storage Mechanism

The Qt Extended PIM library abstracts the storage method used to store PIM data. On a device the Qt Extended PIM library will only read and write the primary storage mechanism and synchronizing mechanism.

PIM Data Synchronization

The Qt Extended PIM library prepares the PIM data for synchronizing with Qt Extended Sync Agent, as well as integrating updates to the PIM data provided by Qt Extended Sync Agent. The Qt Extended PIM library however does not monitor notification for start and end of synchronizing, this monitoring is the responsibility of PIM applications.

Sorting, Searching and Filtering Functionality

The Qt Extended PIM library provides a number of sort, search and filter functions to aid in selecting data most useful to the view requested. This reduces the burden on the application for managing the PIM data, as well as allowing better use of the underlying storage mechanism.

The design for sorting is to specify a key order and is always done in ascending order.

Preset filters are provided appropriate to each PIM data type. For example filtering by:

  • category
  • Task completion status
  • SIM card or non SIM card Contacts.

Due to the difficulty in predicting all possible ways the data might need to be filtered, filtering that does not fit in the provided functions should be provided by using QProxyModel or accessing the database directly.

Additional PIM Widgets

The Qt Extended PIM library provides some GUI controls if they are commonly used by applications casually accessing PIM data. It does not provide GUI controls that are primarily used by PIM applications. For example a Contact selector is provided, but not a Contact edit dialog.

Assumptions and Dependencies

The Qt Extended PIM library requires SQL support either through the include SQLite or through some other SQL engine and it also relies on the ability to send and receive QCop messages.

The responsibilities of a PIM application include:

  • provision of dialogs for editing and viewing PIM data
  • provision of QDL support
  • handling of notification of synchronizing
  • beaming or otherwise sending and receiving PIM data.

Refer to: Services detailed information on PIM applications.

Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. Qt qtextended4.4
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD.
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP !
 
 
 
 
Partenaires

Hébergement Web