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 <QDialog> 0010 #include <QObject> 0011 class RemoveAccountWidget; 0012 class LIBRUQOLAWIDGETS_TESTS_EXPORT RemoveAccountDialog : public QDialog 0013 { 0014 Q_OBJECT 0015 public: 0016 explicit RemoveAccountDialog(QWidget *parent = nullptr); 0017 ~RemoveAccountDialog() override; 0018 0019 [[nodiscard]] bool removeLogs() const; 0020 0021 void setAccountName(const QString &accountName); 0022 0023 private: 0024 RemoveAccountWidget *const mRemoveAccountWidget; 0025 };