Changeset View
Changeset View
Standalone View
Standalone View
src/lib/marble/declarative/Navigation.cpp
Context not available. | |||||
214 | d->m_voiceNavigation.setSpeaker( speaker ); | 214 | d->m_voiceNavigation.setSpeaker( speaker ); | ||
---|---|---|---|---|---|
215 | } | 215 | } | ||
216 | 216 | | |||
217 | bool Navigation::soundEnabled() const | | |||
218 | { | | |||
219 | return !d->m_voiceNavigation.isSpeakerEnabled(); | | |||
220 | } | | |||
221 | | ||||
222 | void Navigation::setSoundEnabled( bool soundEnabled ) | | |||
223 | { | | |||
224 | d->m_voiceNavigation.setSpeakerEnabled( !soundEnabled ); | | |||
225 | } | | |||
226 | | ||||
227 | bool Navigation::deviated() const | 217 | bool Navigation::deviated() const | ||
228 | { | 218 | { | ||
229 | if ( d->m_marbleQuickItem ) { | 219 | if ( d->m_marbleQuickItem ) { | ||
Context not available. |