Home · All Classes · Grouped Classes · Annotated · Functions

QtopiaServiceSelector Class Reference

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

    #include <QtopiaServiceSelector>

Inherits QDialog.

Public Functions

Public Slots

Additional Inherited Members


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 Qtopia 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.

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 Qtopia 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.


Copyright © 2008 Nokia Trademarks
Qtopia 4.3.3