diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-04-05 12:06:04 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-04-07 10:47:27 +0900 |
| commit | 17acf663c680f1b5effa4a13119c3c79e0dfee24 (patch) | |
| tree | 8ce69b48e10bcb0fd29db793ab42765c1e2cd98e /kttsd | |
| parent | d346cd1a01699da55dbc492b22a8034d8d8d5a3b (diff) | |
| download | tdeaccessibility-17acf663.tar.gz tdeaccessibility-17acf663.zip | |
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 12b5ed8b4f982fbef0e20d107ca504f892c3ab0a)
Diffstat (limited to 'kttsd')
| -rw-r--r-- | kttsd/kttsd/filtermgr.cpp | 2 | ||||
| -rw-r--r-- | kttsd/kttsd/speaker.cpp | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/kttsd/kttsd/filtermgr.cpp b/kttsd/kttsd/filtermgr.cpp index c390b3b..44fc2ff 100644 --- a/kttsd/kttsd/filtermgr.cpp +++ b/kttsd/kttsd/filtermgr.cpp @@ -55,7 +55,7 @@ FilterMgr::~FilterMgr() // kdDebug() << "FilterMgr::~FilterMgr: Running" << endl; if ( m_state == fsFiltering ) stopFiltering(); - m_filterList.setAutoDelete( TRUE ); + m_filterList.setAutoDelete( true ); m_filterList.clear(); } diff --git a/kttsd/kttsd/speaker.cpp b/kttsd/kttsd/speaker.cpp index a0636ac..d2304be 100644 --- a/kttsd/kttsd/speaker.cpp +++ b/kttsd/kttsd/speaker.cpp @@ -1400,7 +1400,7 @@ bool Speaker::startPlayingUtterance(uttIterator it) m_speechData->setJobSequenceNum(m_currentJobNum, sentence->seq); prePlaySignals(it); it->state = usPlaying; - if (!m_timer->start(timerInterval, FALSE)) + if (!m_timer->start(timerInterval, false)) kdDebug() << "Speaker::startPlayingUtterance: timer.start failed" << endl; started = true; } else { @@ -1420,7 +1420,7 @@ bool Speaker::startPlayingUtterance(uttIterator it) // kdDebug() << "Speaker::startPlayingUtterance: resuming play" << endl; it->audioPlayer->startPlay(TQString()); // resume it->state = usPlaying; - if (!m_timer->start(timerInterval, FALSE)) + if (!m_timer->start(timerInterval, false)) kdDebug() << "Speaker::startPlayingUtterance: timer.start failed" << endl; started = true; } @@ -1433,7 +1433,7 @@ bool Speaker::startPlayingUtterance(uttIterator it) // Note: Must call stop(), even if player not currently playing. Why? it->audioPlayer->startPlay(TQString()); // resume it->state = usPlaying; - if (!m_timer->start(timerInterval, FALSE)) + if (!m_timer->start(timerInterval, false)) kdDebug() << "Speaker::startPlayingUtterance: timer.start failed" << endl; started = true; break; @@ -1694,8 +1694,8 @@ bool Speaker::event ( TQEvent * e ) { // kdDebug() << "Speaker::event: received event." << endl; doUtterances(); - return TRUE; + return true; } - else return FALSE; + else return false; } |
