|
libosmscout 1.1.1
|
#include <libosmscout-client-qt/include/osmscoutclientqt/VoiceManager.h>


Public Member Functions | |
| VoiceDownloadJob (QNetworkAccessManager *webCtrl, const AvailableVoice &voice, const QDir &target, bool replaceExisting) | |
| virtual | ~VoiceDownloadJob () |
| void | start () |
| uint64_t | expectedSize () const override |
| AvailableVoice | getVoice () const |
| Public Member Functions inherited from osmscout::DownloadJob | |
| DownloadJob (QNetworkAccessManager *webCtrl, QDir target, bool replaceExisting) | |
| ~DownloadJob () override | |
| DownloadJob (const DownloadJob &)=delete | |
| DownloadJob (DownloadJob &&)=delete | |
| DownloadJob & | operator= (const DownloadJob &)=delete |
| DownloadJob & | operator== (const DownloadJob &&)=delete |
| void | start (const QString &serverBasePath, const QStringList &files) |
| void | cancel () |
| bool | isDone () const |
| bool | isSuccessful () const |
| bool | isDownloading () const |
| QString | getError () const |
| bool | isReplaceExisting () const |
| QDir | getDestinationDirectory () const |
| double | getProgress () |
| QString | getDownloadingFile () |
Additional Inherited Members | |
| Public Slots inherited from osmscout::DownloadJob | |
| void | onJobFailed (QString errorMessage, bool recoverable) |
| void | onJobFinished (QString path) |
| void | onDownloadProgress (uint64_t) |
| void | downloadNextFile () |
| Signals inherited from osmscout::DownloadJob | |
| void | finished () |
| void | failed (QString error) |
| void | canceled () |
| void | downloadProgress () |
| Protected Member Functions inherited from osmscout::DownloadJob | |
| void | clearJobs () |
| Protected Attributes inherited from osmscout::DownloadJob | |
| QList< FileDownloader * > | jobs |
| QNetworkAccessManager * | webCtrl |
| QDir | target |
| bool | done {false} |
| bool | started {false} |
| bool | successful {false} |
| bool | canceledByUser {false} |
| uint64_t | downloadedBytes {0} |
| QString | error |
| bool | replaceExisting |
Utility class for downloading voice described by AvailableVoice over http.
| osmscout::VoiceDownloadJob::VoiceDownloadJob | ( | QNetworkAccessManager * | webCtrl, |
| const AvailableVoice & | voice, | ||
| const QDir & | target, | ||
| bool | replaceExisting ) |
|
virtual |
|
inlineoverridevirtual |
Implements osmscout::DownloadJob.
|
inline |
| void osmscout::VoiceDownloadJob::start | ( | ) |