/dports/accessibility/qt5-speech/kde-qtspeech-5.15.2p2/src/tts/ |
H A D | qtexttospeech.cpp | 199 QTextToSpeech::QTextToSpeech(QObject *parent) in QTextToSpeech() function in QTextToSpeech 202 Q_D(QTextToSpeech); in QTextToSpeech() 219 QTextToSpeech::QTextToSpeech(const QString &engine, QObject *parent) in QTextToSpeech() function in QTextToSpeech 222 Q_D(QTextToSpeech); in QTextToSpeech() 236 QTextToSpeech::State QTextToSpeech::state() const in state() 253 Q_D(QTextToSpeech); in say() 263 Q_D(QTextToSpeech); in stop() 287 Q_D(QTextToSpeech); in pause() 298 Q_D(QTextToSpeech); in resume() 329 Q_D(QTextToSpeech); in setPitch() [all …]
|
H A D | qtexttospeech.h | 54 class Q_TEXTTOSPEECH_EXPORT QTextToSpeech : public QObject 57 Q_ENUMS(QTextToSpeech::State) 64 Q_DECLARE_PRIVATE(QTextToSpeech) 73 explicit QTextToSpeech(QObject *parent = nullptr); 74 explicit QTextToSpeech(const QString &engine, QObject *parent = nullptr); 103 void stateChanged(QTextToSpeech::State state); 112 Q_DISABLE_COPY(QTextToSpeech) 115 Q_DECLARE_TYPEINFO(QTextToSpeech::State, Q_PRIMITIVE_TYPE); 119 Q_DECLARE_METATYPE(QTextToSpeech::State)
|
H A D | qvoice.cpp | 189 retval = QTextToSpeech::tr("Male", "Gender of a voice"); in genderName() 192 retval = QTextToSpeech::tr("Female", "Gender of a voice"); in genderName() 196 retval = QTextToSpeech::tr("Unknown Gender", "Voice gender is unknown"); in genderName() 210 retval = QTextToSpeech::tr("Child", "Age of a voice"); in ageName() 213 retval = QTextToSpeech::tr("Teenager", "Age of a voice"); in ageName() 216 retval = QTextToSpeech::tr("Adult", "Age of a voice"); in ageName() 219 retval = QTextToSpeech::tr("Senior", "Age of a voice"); in ageName() 223 retval = QTextToSpeech::tr("Other Age", "Unknown age of a voice"); in ageName()
|
H A D | qtexttospeech_p.h | 61 class QTextToSpeech; variable 65 QTextToSpeechPrivate(QTextToSpeech *speech, const QString &engine); 74 QTextToSpeech *m_speech;
|
/dports/misc/qt5-examples/qt-everywhere-src-5.15.2/qtspeech/examples/speech/hello_speak/ |
H A D | mainwindow.cpp | 65 const auto engines = QTextToSpeech::availableEngines(); in MainWindow() 102 void MainWindow::stateChanged(QTextToSpeech::State state) in stateChanged() 104 if (state == QTextToSpeech::Speaking) { in stateChanged() 106 } else if (state == QTextToSpeech::Ready) in stateChanged() 108 else if (state == QTextToSpeech::Paused) in stateChanged() 113 ui.pauseButton->setEnabled(state == QTextToSpeech::Speaking); in stateChanged() 114 ui.resumeButton->setEnabled(state == QTextToSpeech::Paused); in stateChanged() 115 ui.stopButton->setEnabled(state == QTextToSpeech::Speaking || state == QTextToSpeech::Paused); in stateChanged() 123 m_speech = new QTextToSpeech(this); in engineSelected() 125 m_speech = new QTextToSpeech(engineName, this); in engineSelected() [all …]
|
/dports/net/kpimtextedit/kpimtextedit-21.12.3/src/texttospeech/ |
H A D | texttospeech.cpp | 32 mTextToSpeech = new QTextToSpeech(engineName, this); in reloadSettings() 33 connect(mTextToSpeech, &QTextToSpeech::stateChanged, this, &TextToSpeech::slotStateChanged); in reloadSettings() 35 … disconnect(mTextToSpeech, &QTextToSpeech::stateChanged, this, &TextToSpeech::slotStateChanged); in reloadSettings() 37 mTextToSpeech = new QTextToSpeech(engineName, this); in reloadSettings() 38 connect(mTextToSpeech, &QTextToSpeech::stateChanged, this, &TextToSpeech::slotStateChanged); in reloadSettings() 58 case QTextToSpeech::Ready: in slotStateChanged() 61 case QTextToSpeech::Speaking: in slotStateChanged() 64 case QTextToSpeech::Paused: in slotStateChanged() 67 case QTextToSpeech::BackendError: in slotStateChanged() 76 return mTextToSpeech->state() != QTextToSpeech::BackendError; in isReady() [all …]
|
/dports/graphics/okular/okular-21.12.3/part/ |
H A D | tts.cpp | 21 , speech(new QTextToSpeech(Okular::Settings::ttsEngine())) in Private() 32 QTextToSpeech *speech; 44 connect(d->speech, &QTextToSpeech::stateChanged, this, &OkularTTS::slotSpeechStateChanged); in OkularTTS() 74 if (d->speech->state() == QTextToSpeech::Speaking) in pauseResumeSpeech() 80 void OkularTTS::slotSpeechStateChanged(QTextToSpeech::State state) in slotSpeechStateChanged() 82 if (state == QTextToSpeech::Speaking) { in slotSpeechStateChanged() 87 if (state == QTextToSpeech::Paused) in slotSpeechStateChanged() 100 d->speech = new QTextToSpeech(engine); in slotConfigChanged() 101 connect(d->speech, &QTextToSpeech::stateChanged, this, &OkularTTS::slotSpeechStateChanged); in slotConfigChanged()
|
/dports/accessibility/qt5-speech/kde-qtspeech-5.15.2p2/src/plugins/tts/sapi/ |
H A D | qtexttospeech_sapi.cpp | 99 m_state = QTextToSpeech::Ready; in init() 115 if (m_state != QTextToSpeech::Ready) in say() 126 if (m_state == QTextToSpeech::Paused) in stop() 139 m_state = QTextToSpeech::Paused; in pause() 152 m_state = QTextToSpeech::Ready; in resume() 372 if (m_state != QTextToSpeech::Ready) { in setVoice() 373 m_state = QTextToSpeech::Ready; in setVoice() 404 QTextToSpeech::State newState = QTextToSpeech::Ready; in NotifyCallback() 406 newState = QTextToSpeech::Paused; in NotifyCallback() 408 newState = QTextToSpeech::Speaking; in NotifyCallback() [all …]
|
/dports/accessibility/qt5-speech/kde-qtspeech-5.15.2p2/src/plugins/tts/speechdispatcher/ |
H A D | qtexttospeech_speechd.cpp | 76 if ((m_state != QTextToSpeech::BackendError) && (m_state != QTextToSpeech::Ready)) in ~QTextToSpeechEngineSpeechd() 114 m_state = QTextToSpeech::Ready; in connectToSpeechDispatcher() 124 m_state = QTextToSpeech::BackendError; in connectToSpeechDispatcher() 131 QTextToSpeech::State s = QTextToSpeech::BackendError; in spdStateChanged() 133 s = QTextToSpeech::Paused; in spdStateChanged() 135 s = QTextToSpeech::Speaking; in spdStateChanged() 137 s = QTextToSpeech::Ready; in spdStateChanged() 150 if (m_state != QTextToSpeech::Ready) in say() 160 if (m_state == QTextToSpeech::Paused) in stop() 170 if (m_state == QTextToSpeech::Speaking) { in pause() [all …]
|
/dports/accessibility/qt5-speech/kde-qtspeech-5.15.2p2/src/plugins/tts/flite/ |
H A D | qtexttospeech_flite.cpp | 44 m_state(QTextToSpeech::Ready), in QTextToSpeechEngineFlite() 67 m_state = QTextToSpeech::Speaking; in say() 75 m_state = QTextToSpeech::Ready; in stop() 81 if (m_state == QTextToSpeech::Speaking) { in pause() 83 m_state = QTextToSpeech::Paused; in pause() 90 if (m_state == QTextToSpeech::Paused) { in resume() 92 m_state = QTextToSpeech::Speaking; in resume() 167 QTextToSpeech::State QTextToSpeechEngineFlite::state() const in state() 203 if (m_state != QTextToSpeech::Ready && m_processor->isIdle()) { in onNotSpeaking() 204 m_state = QTextToSpeech::Ready; in onNotSpeaking()
|
/dports/accessibility/qt5-speech/kde-qtspeech-5.15.2p2/src/plugins/tts/android/src/ |
H A D | qtexttospeech_android.cpp | 126 , m_state(QTextToSpeech::BackendError) in QTextToSpeechEngineAndroid() 152 if (m_state == QTextToSpeech::Speaking) in say() 175 if (m_state != QTextToSpeech::Paused) in processNotifyReady() 176 setState(QTextToSpeech::Ready); in processNotifyReady() 181 setState(QTextToSpeech::BackendError); in processNotifyError() 186 setState(QTextToSpeech::Speaking); in processNotifySpeaking() 191 if (m_state == QTextToSpeech::Ready) in stop() 195 setState(QTextToSpeech::Ready); in stop() 200 if (m_state == QTextToSpeech::Paused) in pause() 204 setState(QTextToSpeech::Paused); in pause() [all …]
|
H A D | qtexttospeech_android.h | 75 QTextToSpeech::State state() const override; 83 void setState(QTextToSpeech::State state); 87 QTextToSpeech::State m_state;
|
/dports/misc/actiona/actiona-3.10.1/actions/actionpacksystem/actions/ |
H A D | texttospeechinstance.h | 37 mTextToSpeech(new QTextToSpeech(this)) in ActionInstance() 69 … connect(mTextToSpeech, &QTextToSpeech::stateChanged, this, &TextToSpeechInstance::stateChanged); in startExecution() 95 void stateChanged(QTextToSpeech::State state) in stateChanged() 97 if(state == QTextToSpeech::Ready) in stateChanged() 106 QTextToSpeech *mTextToSpeech;
|
/dports/devel/pyside2/pyside-setup-opensource-src-5.15.2/sources/pyside2/tests/QtTextToSpeech/ |
H A D | qtexttospeech_test.py | 46 from PySide2.QtTextToSpeech import QTextToSpeech, QVoice 54 engines = QTextToSpeech.availableEngines() 58 speech = QTextToSpeech(engines[0]) 65 if (state == QTextToSpeech.State.Ready):
|
/dports/devel/pyside2-tools/pyside-setup-opensource-src-5.15.2/sources/pyside2/tests/QtTextToSpeech/ |
H A D | qtexttospeech_test.py | 46 from PySide2.QtTextToSpeech import QTextToSpeech, QVoice 54 engines = QTextToSpeech.availableEngines() 58 speech = QTextToSpeech(engines[0]) 65 if (state == QTextToSpeech.State.Ready):
|
/dports/devel/shiboken2/pyside-setup-opensource-src-5.15.2/sources/pyside2/tests/QtTextToSpeech/ |
H A D | qtexttospeech_test.py | 46 from PySide2.QtTextToSpeech import QTextToSpeech, QVoice 54 engines = QTextToSpeech.availableEngines() 58 speech = QTextToSpeech(engines[0]) 65 if (state == QTextToSpeech.State.Ready):
|
/dports/accessibility/qt5-speech/kde-qtspeech-5.15.2p2/src/plugins/tts/osx/ |
H A D | qtexttospeech_osx.mm | 65 : QTextToSpeechEngine(parent), m_state(QTextToSpeech::Ready) 84 QTextToSpeech::State QTextToSpeechEngineOsx::state() const 97 if (m_state != QTextToSpeech::Ready) { 98 m_state = QTextToSpeech::Ready; 108 if (m_state != QTextToSpeech::Ready) 118 if (m_state != QTextToSpeech::Speaking) { 119 m_state = QTextToSpeech::Speaking; 134 m_state = QTextToSpeech::Paused; 141 return m_state == QTextToSpeech::Paused; 146 m_state = QTextToSpeech::Speaking;
|
/dports/accessibility/qt5-speech/kde-qtspeech-5.15.2p2/src/plugins/tts/winrt/ |
H A D | qtexttospeech_winrt.cpp | 90 QTextToSpeech::State state; 178 d->state = QTextToSpeech::Speaking; in say() 180 d->state = QTextToSpeech::BackendError; in say() 202 d->state = QTextToSpeech::Ready; in stop() 225 d->state = QTextToSpeech::Paused; in pause() 245 d->state = QTextToSpeech::Speaking; in resume() 344 QTextToSpeech::State QTextToSpeechEngineWinRT::state() const in state() 380 d->state = QTextToSpeech::BackendError; in init() 428 d->state = QTextToSpeech::Ready; in init()
|
/dports/devel/pyside2-tools/pyside-setup-opensource-src-5.15.2/examples/texttospeech/ |
H A D | texttospeech.py | 49 from PySide2.QtTextToSpeech import QTextToSpeech 79 engineNames = QTextToSpeech.availableEngines() 82 self.engine = QTextToSpeech(engineName) 100 if (state == QTextToSpeech.State.Ready):
|
/dports/devel/pyside2/pyside-setup-opensource-src-5.15.2/examples/texttospeech/ |
H A D | texttospeech.py | 49 from PySide2.QtTextToSpeech import QTextToSpeech 79 engineNames = QTextToSpeech.availableEngines() 82 self.engine = QTextToSpeech(engineName) 100 if (state == QTextToSpeech.State.Ready):
|
/dports/devel/shiboken2/pyside-setup-opensource-src-5.15.2/examples/texttospeech/ |
H A D | texttospeech.py | 49 from PySide2.QtTextToSpeech import QTextToSpeech 79 engineNames = QTextToSpeech.availableEngines() 82 self.engine = QTextToSpeech(engineName) 100 if (state == QTextToSpeech.State.Ready):
|
/dports/databases/py-qt5-sql/PyQt5-5.15.4/sip/QtTextToSpeech/ |
H A D | qtexttospeech.sip | 25 class QTextToSpeech : QObject 68 explicit QTextToSpeech(QObject *parent /TransferThis/ = 0); 69 QTextToSpeech(const QString &engine, QObject *parent /TransferThis/ = 0); 70 QTextToSpeech::State state() const; 92 void stateChanged(QTextToSpeech::State state);
|
/dports/multimedia/py-qt5-multimediawidgets/PyQt5-5.15.4/sip/QtTextToSpeech/ |
H A D | qtexttospeech.sip | 25 class QTextToSpeech : QObject 68 explicit QTextToSpeech(QObject *parent /TransferThis/ = 0); 69 QTextToSpeech(const QString &engine, QObject *parent /TransferThis/ = 0); 70 QTextToSpeech::State state() const; 92 void stateChanged(QTextToSpeech::State state);
|
/dports/multimedia/py-qt5-multimedia/PyQt5-5.15.4/sip/QtTextToSpeech/ |
H A D | qtexttospeech.sip | 25 class QTextToSpeech : QObject 68 explicit QTextToSpeech(QObject *parent /TransferThis/ = 0); 69 QTextToSpeech(const QString &engine, QObject *parent /TransferThis/ = 0); 70 QTextToSpeech::State state() const; 92 void stateChanged(QTextToSpeech::State state);
|
/dports/www/py-qt5-webchannel/PyQt5-5.15.4/sip/QtTextToSpeech/ |
H A D | qtexttospeech.sip | 25 class QTextToSpeech : QObject 68 explicit QTextToSpeech(QObject *parent /TransferThis/ = 0); 69 QTextToSpeech(const QString &engine, QObject *parent /TransferThis/ = 0); 70 QTextToSpeech::State state() const; 92 void stateChanged(QTextToSpeech::State state);
|