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  · 

QPimSourceDialog Class Reference
[QtMessagingModule, QtPimModule, QtTelephonyModule, QtUiModule]

The QPimSourceDialog class provides a dialog for selecting visible PIM sources for a PIM model. More...

    #include <QPimSourceDialog>

Inherits QDialog.

Public Functions

  • 5 public functions inherited from QDialog
  • 206 public functions inherited from QWidget
  • 29 public functions inherited from QObject
  • 14 public functions inherited from QPaintDevice

Additional Inherited Members

  • 2 properties inherited from QDialog
  • 57 properties inherited from QWidget
  • 1 property inherited from QObject
  • 4 public slots inherited from QDialog
  • 19 public slots inherited from QWidget
  • 1 public slot inherited from QObject
  • 3 signals inherited from QDialog
  • 1 signal inherited from QWidget
  • 1 signal inherited from QObject
  • 1 public type inherited from QObject
  • 4 static public members inherited from QWidget
  • 4 static public members inherited from QObject
  • 38 protected functions inherited from QWidget
  • 7 protected functions inherited from QObject
  • 1 protected function inherited from QPaintDevice
  • 1 protected slot inherited from QWidget
  • 2 protected variables inherited from QObject
  • 1 protected type inherited from QPaintDevice

Detailed Description

The QPimSourceDialog class provides a dialog for selecting visible PIM sources for a PIM model.

This is useful to allow the user to filter out certain types of QPimRecords - for example, to only show QContacts that are stored on a SIM card.

This dialog can be subclassed if further functionality is required (e.g. adding sources, syncing between sources, or importing/exporting)

You must specify the PIM model to operate on using setPimModel(). This dialog will query the model for the available PIM sources, and present the user with a checkable list. Once the user accepts the dialog, the model's list of visible sources will automatically be updated to the dialog's selected sources.

The window title should be set by the creator.

See also QPimSource, QPimSourceModel, QPimModel, and Pim Library.


Member Function Documentation

QPimSourceDialog::QPimSourceDialog ( QWidget * parent = 0 )

Constructs a QPimSourceDialog with the given parent.

QPimSourceDialog::~QPimSourceDialog ()

Destroys a QPimSourceDialog.

QPimSourceModel * QPimSourceDialog::pimSourceModel () const

Return the QPimSourceModel used by this dialog. Mostly useful for subclassing this dialog for extra functionality.

void QPimSourceDialog::setPimModel ( QPimModel * m )   [virtual]

Set the PIM model this dialog will operate on to m. The initial list of PIM sources and their state will be obtained from QPimModel::contexts() and QPimModel::visibleSources().

If this dialog is accepted by the user, this model will be updated immediately.

Publicité

Best Of

Actualités les plus lues

Semaine
Mois
Année
  1. « Quelque chose ne va vraiment pas avec les développeurs "modernes" », un développeur à "l'ancienne" critique la multiplication des bibliothèques 44
  2. Microsoft ouvre aux autres compilateurs C++ AMP, la spécification pour la conception d'applications parallèles C++ utilisant le GPU 22
  3. Les développeurs ignorent-ils trop les failles découvertes dans leur code ? Prenez-vous en compte les remarques des autres ? 17
  4. RIM : « 13 % des développeurs ont gagné plus de 100 000 $ sur l'AppWord », Qt et open-source au menu du BlackBerry DevCon Europe 0
  5. BlackBerry 10 : premières images du prochain OS de RIM qui devrait intégrer des widgets et des tuiles inspirées de Windows Phone 0
  6. Quelles nouveautés de C++11 Visual C++ doit-il rapidement intégrer ? Donnez-nous votre avis 10
  7. Adieu qmake, bienvenue qbs : Qt Building Suite, un outil déclaratif et extensible pour la compilation de projets Qt 17
Page suivante

Le Qt Developer Network au hasard

Logo

Compiler l'add-in Qt de Visual Studio

Le Qt Developer Network est un réseau de développeurs Qt anglophone, où ils peuvent partager leur expérience sur le framework. Lire l'article.

Communauté

Ressources

Liens utiles

Contact

  • Vous souhaitez rejoindre la rédaction ou proposer un tutoriel, une traduction, une question... ? Postez dans le forum Contribuez ou contactez-nous par MP ou par email (voir en bas de page).

Qt dans le magazine

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