GCompris-qt
main.qml
106 audioVoices.append(ApplicationInfo.getAudioFilePath("voices-$CA/$LOCALE/intro/" + name + ".$CA"))
121 + qsTr("You should verify that your application settings especially your language is set correctly, and that all language specific sound files are installed. You can do this in the Preferences Dialog.")
A singleton class responsible for downloading, updating and maintaining remote resources.
Definition: DownloadManager.h:81
Q_INVOKABLE QString getAudioFilePath(const QString &file)
Returns an absolute path to a language specific sound/voices file.
Definition: ApplicationInfo.cpp:127
Q_INVOKABLE bool downloadResource(const QString &path)
Download a resource specified by the relative resource path and register it if possible.
Definition: DownloadManager.cpp:167
QString localeShort
Short (2-letter) locale string of the currently active language.
Definition: ApplicationInfo.h:111
bool isAudioEffectsEnabled
Whether audio effects should be enabled.
Definition: ApplicationSettings.h:83
Singleton that contains GCompris' persistent settings.
Definition: ApplicationSettings.h:63
bool isMobile
Whether the application is currently running on a mobile platform.
Definition: ApplicationInfo.h:65
Q_INVOKABLE QString getVoicesResourceForLocale(const QString &locale) const
Generates a relative voices resources file-path for a given locale.
Definition: DownloadManager.cpp:120
void voicesRegistered()
Emitted when voices resources for current locale have been registered.
A general purpose singleton that exposes miscellaneous native functions to the QML layer...
Definition: ApplicationInfo.h:43
bool isAudioVoicesEnabled
Whether audio voices/speech should be enabled.
Definition: ApplicationSettings.h:78
Q_INVOKABLE bool areVoicesRegistered() const
Whether voices for the currently active locale are registered.
Definition: DownloadManager.cpp:483
qreal ratio
Ratio factor used for scaling of sizes on high-dpi devices.
Definition: ApplicationInfo.h:91
This file is part of the KDE documentation.
Documentation copyright © 1996-2015 The KDE developers.
Generated on Tue Jun 2 2015 21:47:47 by doxygen 1.8.9.1 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2015 The KDE developers.
Generated on Tue Jun 2 2015 21:47:47 by doxygen 1.8.9.1 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.