File indexing completed on 2024-12-01 04:36:38
0001 /* 0002 SPDX-FileCopyrightText: 2020-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 0013 #include "config-ruqola.h" 0014 0015 #if HAVE_KUSERFEEDBACK 0016 namespace KUserFeedback 0017 { 0018 class FeedbackConfigWidget; 0019 } 0020 #endif 0021 class LIBRUQOLAWIDGETS_TESTS_EXPORT ConfigureUserFeedbackWidget : public QWidget 0022 { 0023 Q_OBJECT 0024 public: 0025 explicit ConfigureUserFeedbackWidget(QWidget *parent = nullptr); 0026 ~ConfigureUserFeedbackWidget() override; 0027 0028 void save(); 0029 void load(); 0030 0031 private: 0032 #if HAVE_KUSERFEEDBACK 0033 KUserFeedback::FeedbackConfigWidget *const mUserFeedbackWidget; 0034 #endif 0035 };