Logo Search packages:      
Sourcecode: qmk-groundstation version File versions  Download package

qmapcontrol::ImageManager Class Reference

#include <imagemanager.h>

List of all members.


Detailed Description

Author:
Kai Winter <kaiwinter@gmx.de>

Definition at line 44 of file imagemanager.h.


Signals

void imageReceived ()
void loadingFinished ()

Public Member Functions

void abortLoading ()
QPixmap getImage (const QString &host, const QString &path)
 returns a QPixmap of the asked image
void loadingQueueEmpty ()
QPixmap prefetchImage (const QString &host, const QString &path)
void receivedImage (const QPixmap pixmap, const QString &url)
void setCacheDir (const QDir &path)
 sets the cache directory for persistently saving map tiles
void setProxy (QString host, int port)
 sets the proxy for HTTP connections

Static Public Member Functions

static ImageManagerinstance ()

Private Member Functions

 ImageManager (const ImageManager &)
 ImageManager (QObject *parent=0)
bool loadTile (QString tileName, QPixmap &tileData)
ImageManageroperator= (const ImageManager &)
bool saveTile (QString tileName, QPixmap tileData)
bool tileExist (QString tileName)

Private Attributes

QDir cacheDir
bool doPersistentCaching
QPixmap emptyPixmap
MapNetwork * net
QVector< QString > prefetch

Static Private Attributes

static ImageManagerm_Instance = 0

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index