File indexing completed on 2024-12-01 04:36:38
0001 /* 0002 SPDX-FileCopyrightText: 2023-2024 Laurent Montel <montel.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 #include "libruqolawidgets_private_export.h" 0009 #include <QWidget> 0010 class QCheckBox; 0011 class QLabel; 0012 class LIBRUQOLAWIDGETS_TESTS_EXPORT RemoveAccountWidget : public QWidget 0013 { 0014 Q_OBJECT 0015 public: 0016 explicit RemoveAccountWidget(QWidget *parent = nullptr); 0017 ~RemoveAccountWidget() override; 0018 [[nodiscard]] bool removeLogs() const; 0019 0020 void setAccountName(const QString &accountName); 0021 0022 private: 0023 QCheckBox *const mRemoveLogs; 0024 QLabel *const mInfo; 0025 };