Detailed Description
The QtopiaService class allows applications to query the services provided by other applications.
A Qt Extended service is a named collection of features that an application may choose to provide. For example, web browsers providing the feature of displaying a web page given a URL will implement the WebAccess service; telephony programs providing phone call dialing support will implement the Dialer server; etc.
See also Services for more information on implementing and configuring services.
See also Services and QtopiaServiceRequest.
Member Function Documentation
QString QtopiaService::app ( const QString & service, const QString & appname = QString() ) [static]
Returns the application providing the service or a null string if there is no such service.
If appname is provided, a specific binding to that application may be used rather than the global binding.
See also apps().
QString QtopiaService::appConfig ( const QString & service, const QString & appname = QString() ) [static]
Returns the QSettings file defining the facilities available from the applications providing the service, or a null string if there is no such service.
The QSettings can be used to extract more detailed application-specific information about the application providing the service.
Note: The application always provides at least the services defined in the config() file - the information in the appConfig() is application-specific.
If appname is provided, a specific binding to that application may be used rather than the global binding.
See also config().
QStringList QtopiaService::apps ( const QString & service ) [static]
Returns all applications that offer the service, or a null string if there is no such service offered.
See also app().
QString QtopiaService::binding ( const QString & service ) [static]
Returns the name of the QSettings file defining the bindings which the user has selected for the service.
QString QtopiaService::channel ( const QString & service, const QString & appname = QString() ) [static]
Returns the QCop channel for the given service, or a null string if there is no such service.
If appname is provided, a specific binding to that application may be used rather than the global binding.
See also channels().
QStringList QtopiaService::channels ( const QString & service ) [static]
Returns the QCop channels for applications that offer service.
See also channel().
QString QtopiaService::config ( const QString & service ) [static]
Returns the name of the QSettings file defining the facilities available from the applications providing the service, or a null string if there is no such service.
Applications providing the service may have additional configuration defined in the appConfig() file.
See also appConfig().
QStringList QtopiaService::list () [static]
Returns a list of available services.
QStringList QtopiaService::services ( const QString & appname ) [static]
Returns the the list of services supported by appname.
See also list().