File indexing completed on 2024-05-12 16:15:57
0001 /* 0002 SPDX-FileCopyrightText: 2014-2023 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include <QObject> 0010 namespace TextEditTextToSpeech 0011 { 0012 class TextToSpeechConfigWidget; 0013 } 0014 class TextToSpeechConfigWidgetTest : public QObject 0015 { 0016 Q_OBJECT 0017 public: 0018 explicit TextToSpeechConfigWidgetTest(QObject *parent = nullptr); 0019 ~TextToSpeechConfigWidgetTest() override; 0020 0021 private Q_SLOTS: 0022 void shouldHaveDefaultValue(); 0023 void shouldEmitConfigChangedWhenChangeConfigValue(); 0024 0025 private: 0026 void addInterface(TextEditTextToSpeech::TextToSpeechConfigWidget *widget); 0027 };