Home · All Classes · Grouped Classes · Annotated · Functions

WebAccessService Class Reference

Provides the Qtopia WebAccess service. More...

    #include <WebAccessService>

Inherits QtopiaAbstractService.

Public Slots

Additional Inherited Members


Detailed Description

Provides the Qtopia WebAccess service.

The WebAccess service enables applications to access the web browser installed on the device.


Member Function Documentation

void WebAccessService::getURL ( const QString & url, const QString & path )   [slot]

Retrieve the resource specified by url, and create a document containing the resource using the given path as the destination for the document. The service is responsible for notifying the content system of the new document. It does this by creating an instance of QContent and calling at least QContent::setName() and QContent::setFile() on it. It then updates the content system by calling QContent::writeLink().

This slot corresponds to the QCop service message WebAccess::getURL(QString,QString).

See also QContent.

void WebAccessService::openURL ( const QString & url )   [slot]

Retrieve the resource specified by url and either display it to the user, invoke further services to display the resource, or notify the user that no facility exists for displaying the resource. If the resource cannot be retrieved, the service notifies the user.

This slot corresponds to the QCop service message WebAccess::openURL(QString).

void WebAccessService::retrieveURL ( const QString & url )   [slot]

Retrieve the resource specified by url, and create a document containing the resource. If services exist to display the document, the WebAccess service gives the user the option to display the document. If the resource cannot be retrieved, the service notifies the user.

This slot corresponds to the QCop service message WebAccess::retrieveURL(QString).


Copyright © 2007 Trolltech Trademarks
Qtopia 4.2.5