Qt Mobility Reference Documentation

QGeoTiledMapReply Class Reference

The QGeoTiledMapReply class represents the response from a geocoding service. More...

 #include <QGeoTiledMapReply>

Public Types

enum Error { NoError, CommunicationError, ParseError, UnknownError }

Public Functions

QGeoTiledMapReply ( const QGeoTiledMapRequest & request, QObject * parent = 0 )
QGeoTiledMapReply ( Error error, const QString & errorString, QObject * parent = 0 )
virtual ~QGeoTiledMapReply ()
Error error () const
QString errorString () const
bool isCached () const
bool isFinished () const
QByteArray mapImageData () const
QString mapImageFormat () const
QGeoTiledMapRequest request () const

Public Slots

virtual void abort ()

Signals

void error ( QGeoTiledMapReply::Error error, const QString & errorString = QString() )
void finished ()

Protected Functions

void setCached ( bool cached )
void setError ( Error error, const QString & errorString )
void setFinished ( bool finished )
void setMapImageData ( const QByteArray & data )
void setMapImageFormat ( const QString & format )

Detailed Description

The QGeoTiledMapReply class represents the response from a geocoding service.

This class represents the response from a geocoding service. It also takes responsibility for any errors that happen while the request is in submitted to and processed by the service.


Member Type Documentation

enum QGeoTiledMapReply::Error


Member Function Documentation

QGeoTiledMapReply::QGeoTiledMapReply ( const QGeoTiledMapRequest & request, QObject * parent = 0 )

Constructs a QGeoTiledMapReply with parent parent.

QGeoTiledMapReply::QGeoTiledMapReply ( Error error, const QString & errorString, QObject * parent = 0 )

QGeoTiledMapReply::~QGeoTiledMapReply () [virtual]

Destructor.

void QGeoTiledMapReply::abort () [virtual slot]

Cancels the receiving of this reply if the reply hasn't been received already.

Error QGeoTiledMapReply::error () const

See also setError().

void QGeoTiledMapReply::error ( QGeoTiledMapReply::Error error, const QString & errorString = QString() ) [signal]

Indicates that an error occurred during the receiving or processing of the reply.

QString QGeoTiledMapReply::errorString () const

void QGeoTiledMapReply::finished () [signal]

Indicates that the reply has been received and processed without error, and is ready to be used.

See also setFinished().

bool QGeoTiledMapReply::isCached () const

bool QGeoTiledMapReply::isFinished () const

QByteArray QGeoTiledMapReply::mapImageData () const

See also setMapImageData().

QString QGeoTiledMapReply::mapImageFormat () const

See also setMapImageFormat().

QGeoTiledMapRequest QGeoTiledMapReply::request () const

void QGeoTiledMapReply::setCached ( bool cached ) [protected]

See also isCached().

void QGeoTiledMapReply::setError ( Error error, const QString & errorString ) [protected]

See also error().

void QGeoTiledMapReply::setFinished ( bool finished ) [protected]

See also finished().

void QGeoTiledMapReply::setMapImageData ( const QByteArray & data ) [protected]

See also mapImageData().

void QGeoTiledMapReply::setMapImageFormat ( const QString & format ) [protected]

See also mapImageFormat().


Copyright © 2009-2010 Nokia Corporation and/or its subsidiary(-ies) Trademarks
Qt Mobility Project 1.1.0