QtopiaServiceSelector Class Reference
The QtopiaServiceSelector class implements a list dialog for selecting a service. More...
#include <QtopiaServiceSelector>
Inherits QDialog.
Public Functions
- 9 public functions inherited from QDialog
- 258 public functions inherited from QWidget
- 37 public functions inherited from QObject
- 20 public functions inherited from QPaintDevice
Public Slots
- bool edit ( const QString & targetlabel, QtopiaServiceDescription & item )
- 5 public slots inherited from QDialog
- 20 public slots inherited from QWidget
- 1 public slot inherited from QObject
Additional Inherited Members
- 2 properties inherited from QDialog
- 55 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
- 5 static public members inherited from QWidget
- 4 static public members inherited from QObject
- 13 static public members inherited from QPaintDevice
- 39 protected functions inherited from QWidget
- 8 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
- 1 static protected member inherited from QObject
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 to the list of services displayed in this selector. By default, only service actions are shown.
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.