|
libosmscout 0.1
|
Manager of voices for navigation commands. More...
#include <VoiceManager.h>
Inheritance diagram for osmscout::VoiceManager:Public Slots | |
| void | cancelDownload (const AvailableVoice &item) |
| void | download (const AvailableVoice &item) |
| void | onJobFailed (QString errorMessage) |
| void | onJobFinished () |
| void | reload () |
| void | remove (const AvailableVoice &item) |
Signals | |
| void | downloaded (const AvailableVoice &item) |
| void | reloaded () |
| void | removed (const AvailableVoice &item) |
| void | startDownloading (const AvailableVoice &item) |
| void | voiceDownloadFails (const QString &errorMessage) |
Public Member Functions | |
| void | downloadNext () |
| QList< Voice > | getInstalledVoices () const |
| bool | isDownloaded (const AvailableVoice &voice) const |
| bool | isDownloading (const AvailableVoice &voice) const |
| VoiceManager & | operator= (const VoiceManager &)=delete |
| VoiceManager & | operator= (VoiceManager &&)=delete |
| VoiceManager () | |
| VoiceManager (const VoiceManager &)=delete | |
| VoiceManager (VoiceManager &&)=delete | |
| ~VoiceManager () override | |
Manager of voices for navigation commands.
| osmscout::VoiceManager::VoiceManager | ( | ) |
References osmscout::OSMScoutQt::GetInstance(), osmscout::OSMScoutQt::GetSettings(), and reload().
|
delete |
|
delete |
|
override |
|
slot |
References osmscout::AvailableVoice::getLang(), and osmscout::AvailableVoice::getName().
|
slot |
|
signal |
Referenced by osmscout::AvailableVoicesModel::AvailableVoicesModel(), and onJobFinished().
| void osmscout::VoiceManager::downloadNext | ( | ) |
Referenced by download(), and onJobFinished().
|
inline |
| bool osmscout::VoiceManager::isDownloaded | ( | const AvailableVoice & | voice | ) | const |
References osmscout::AvailableVoice::getLang(), and osmscout::AvailableVoice::getName().
| bool osmscout::VoiceManager::isDownloading | ( | const AvailableVoice & | voice | ) | const |
References osmscout::AvailableVoice::getLang(), and osmscout::AvailableVoice::getName().
|
slot |
References onJobFinished(), and voiceDownloadFails().
Referenced by download().
|
slot |
References downloaded(), downloadNext(), and reload().
Referenced by download(), and onJobFailed().
|
delete |
|
delete |
|
slot |
|
signal |
Referenced by osmscout::InstalledVoicesModel::InstalledVoicesModel(), and reload().
|
slot |
References osmscout::AvailableVoice::getLang(), osmscout::AvailableVoice::getName(), reload(), and removed().
|
signal |
Referenced by osmscout::AvailableVoicesModel::AvailableVoicesModel(), and remove().
|
signal |
Referenced by osmscout::AvailableVoicesModel::AvailableVoicesModel(), and download().
|
signal |
Referenced by onJobFailed().