TextEditTextToSpeech::TextToSpeechActions Class

The TextToSpeechActions class Author: Laurent Montel <montel@kde.org>. More...

Header: #include <TextEditTextToSpeech/TextToSpeechActions>
CMake: find_package(KF6TextEditTextToSpeech REQUIRED)
target_link_libraries(mytarget PRIVATE KF6::TextEditTextToSpeech)
Inherits: QObject

Public Functions

TextToSpeechActions(QObject *parent = nullptr)
virtual ~TextToSpeechActions() override
QAction *playPauseAction() const
TextEditTextToSpeech::TextToSpeechWidget::State state() const
QAction *stopAction() const

Public Slots

void setState(TextEditTextToSpeech::TextToSpeechWidget::State)
void slotStop()

Signals

void stateChanged(TextEditTextToSpeech::TextToSpeechWidget::State state)

Detailed Description

Member Function Documentation

[explicit] TextToSpeechActions::TextToSpeechActions(QObject *parent = nullptr)

[override virtual noexcept] TextToSpeechActions::~TextToSpeechActions()

QAction *TextToSpeechActions::playPauseAction() const

[slot] void TextToSpeechActions::setState(TextEditTextToSpeech::TextToSpeechWidget::State)

See also state().

[slot] void TextToSpeechActions::slotStop()

TextEditTextToSpeech::TextToSpeechWidget::State TextToSpeechActions::state() const

See also setState().

[signal] void TextToSpeechActions::stateChanged(TextEditTextToSpeech::TextToSpeechWidget::State state)

QAction *TextToSpeechActions::stopAction() const