This class manages dummies: it updates the cache and allows to send dummies. More...
#include <Dummy.h>
Public Slots | |
void | recvDummyAnswer (QNetworkReply *reply) |
Slot called if a dummy answer is received. | |
void | updateProgress (QString val) |
Update the progress bar. | |
Signals | |
void | cacheDone (QString val) |
Public Member Functions | |
Dummy (QObject *parent=0) | |
Construct an obect used to generate dummies. | |
void | sendDummy () |
Send a dummy query. | |
void | setNbTraces (int nb) |
Set the number of dummies. | |
void | resetCache () |
Reset the Cache. | |
void | init () |
Initialize the Cache. | |
void | setCacheCenter (QGeoCoordinate center) |
Set the center of the cache. |
This class manages dummies: it updates the cache and allows to send dummies.
void Dummy::recvDummyAnswer | ( | QNetworkReply * | reply | ) | [slot] |
Slot called if a dummy answer is received.
The answer does not influence the resto the application, but it is requied for timing
void Dummy::setCacheCenter | ( | QGeoCoordinate | center | ) |
Set the center of the cache.
cneter | is the center of the cache |
void Dummy::setNbTraces | ( | int | nb | ) |
Set the number of dummies.
the | number of dummies |
void Dummy::updateProgress | ( | QString | val | ) | [slot] |
Update the progress bar.
the | current progress [1-4] |