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  · 

QtopiaServiceSelector Class Reference
[QtBaseModule]

The QtopiaServiceSelector class implements a list dialog for selecting a service. More...

    #include <QtopiaServiceSelector>

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

Public Slots

  • bool edit ( const QString & targetlabel, QtopiaServiceDescription & item )
  • 4 public slots inherited from QDialog
  • 19 public slots inherited from QWidget
  • 1 public slot inherited from QObject

Additional Inherited Members

  • 2 properties inherited from QDialog
  • 57 properties inherited from QWidget
  • 1 property 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 QtopiaServiceSelector class implements a list dialog for selecting a service.

See also QtopiaServiceDescription and QtopiaServiceRequest.


Member Function Documentation

QtopiaServiceSelector::QtopiaServiceSelector ( QWidget * parent )

Construct a Qt Extended service selector dialog owned by parent.

void QtopiaServiceSelector::addApplications ()

Add all installed applications (and games and settings) to the list of services displayed in this selector. By default, only service actions are shown.

This will not add any application which has the same name and icon as another application or a service already in the list.

QtopiaServiceDescription QtopiaServiceSelector::descriptionFor ( const QtopiaServiceRequest & req ) const

Returns the description of the service request req. Descriptions include the service request, a user-visible name, and an icon name.

See also QtopiaServiceDescription.

bool QtopiaServiceSelector::edit ( const QString & targetlabel, QtopiaServiceDescription & item )   [slot]

Displays this Qt Extended service selector dialog, to allow the user to select a service to associate with targetlabel. The selected service description is returned in item.

This function is typically used to edit the service associated with a device button or similar action. The contents of the service selector are not being edited; rather the button or action is being edited.

Returns true if an item was selected; or false if the dialog was canceled.

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