File indexing completed on 2024-12-01 04:36:38
0001 /* 0002 SPDX-FileCopyrightText: 2022-2024 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include <QWidget> 0010 0011 #include "libruqolawidgets_private_export.h" 0012 #include <QWidget> 0013 namespace TextEditTextToSpeech 0014 { 0015 class TextToSpeechConfigWidget; 0016 } 0017 0018 class LIBRUQOLAWIDGETS_TESTS_EXPORT ConfigureAccessibilityWidget : public QWidget 0019 { 0020 Q_OBJECT 0021 public: 0022 explicit ConfigureAccessibilityWidget(QWidget *parent = nullptr); 0023 ~ConfigureAccessibilityWidget() override; 0024 0025 void save(); 0026 void load(); 0027 0028 protected: 0029 void showEvent(QShowEvent *event) override; 0030 0031 private: 0032 TextEditTextToSpeech::TextToSpeechConfigWidget *const mTextToSpeechWidget; 0033 bool mWasInitialized = false; 0034 };