Viadeo Twitter Google Bookmarks ! Facebook Digg del.icio.us MySpace Yahoo MyWeb Blinklist Netvouz Reddit Simpy StumbleUpon Bookmarks Windows Live Favorites 
Logo Documentation Qt ·  Page d'accueil  ·  Toutes les classes  ·  Classes principales  ·  Annotées  ·  Classes groupées  ·  Modules  ·  Fonctions  · 

QGeoMappingManagerEngine Class

Provides support functionality for map display with QGeoServiceProvider. More...

 #include <QGeoMappingManagerEngine>

Inherits: QObject.

This class was introduced in Qt Location 5.0.

Public Functions

QGeoMappingManagerEngine(QObject * parent = 0)
virtual ~QGeoMappingManagerEngine()
QGeoCameraCapabilities cameraCapabilities()
virtual QGeoMapData * createMapData() = 0
bool isInitialized() const
QLocale locale() const
QString managerName() const
int managerVersion() const
QMap<QString, QVariant> parameters() const
void setLocale(const QLocale & locale)
QList<QGeoMapType> supportedMapTypes() const
  • 31 public functions inherited from QObject

Signals

void initialized()

Protected Functions

void engineInitialized()
void setCameraCapabilities(const QGeoCameraCapabilities & capabilities)
void setSupportedMapTypes(const QList<QGeoMapType> & supportedMapTypes)
  • 9 protected functions inherited from QObject

Additional Inherited Members

  • 1 property inherited from QObject
  • 1 public slot inherited from QObject
  • 11 static public members inherited from QObject

Detailed Description

Provides support functionality for map display with QGeoServiceProvider.

The QGeoMappingManagerEngine class provides an interface and convenience methods to implementors of QGeoServiceProvider plugins who want to provide support for displaying and interacting with maps.

Member Function Documentation

QGeoMappingManagerEngine::QGeoMappingManagerEngine(QObject * parent = 0)

Constructs a new engine with the specified parent.

QGeoMappingManagerEngine::~QGeoMappingManagerEngine() [virtual]

Destroys this engine.

QGeoCameraCapabilities QGeoMappingManagerEngine::cameraCapabilities()

See also setCameraCapabilities().

QGeoMapData * QGeoMappingManagerEngine::createMapData() [pure virtual]

void QGeoMappingManagerEngine::engineInitialized() [protected]

Marks the engine as initialized. Subclasses of QGeoMappingManagerEngine are to call this method after performing implementation-specific initializatioin within the constructor.

void QGeoMappingManagerEngine::initialized() [signal]

bool QGeoMappingManagerEngine::isInitialized() const

Return whether the engine has been initialized and is ready to be used.

QLocale QGeoMappingManagerEngine::locale() const

Returns the locale used to hint to this mapping manager about what language to use for map labels.

See also setLocale().

QString QGeoMappingManagerEngine::managerName() const

Returns the name which this engine implementation uses to distinguish itself from the implementations provided by other plugins.

The combination of managerName() and managerVersion() should be unique amongst plugin implementations.

int QGeoMappingManagerEngine::managerVersion() const

Returns the version of this engine implementation.

The combination of managerName() and managerVersion() should be unique amongst plugin implementations.

QMap<QString, QVariant> QGeoMappingManagerEngine::parameters() const

void QGeoMappingManagerEngine::setCameraCapabilities(const QGeoCameraCapabilities & capabilities) [protected]

See also cameraCapabilities().

void QGeoMappingManagerEngine::setLocale(const QLocale & locale)

Sets the locale to be used by the this manager to locale.

If this mapping manager supports returning map labels in different languages, they will be returned in the language of locale.

The locale used defaults to the system locale if this is not set.

See also locale().

void QGeoMappingManagerEngine::setSupportedMapTypes(const QList<QGeoMapType> & supportedMapTypes) [protected]

Sets the list of map types supported by this engine to mapTypes.

Subclasses of QGeoMappingManagerEngine should use this function to ensure that supportedMapTypes() provides accurate information.

See also supportedMapTypes().

QList<QGeoMapType> QGeoMappingManagerEngine::supportedMapTypes() const

See also setSupportedMapTypes().

Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. Qt 5.0-snapshot
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD.
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP !
 
 
 
 
Partenaires

Hébergement Web