/*
   SPDX-FileCopyrightText: 2021-2023 Laurent Montel <montel@kde.org>

   SPDX-License-Identifier: LGPL-2.0-or-later
*/
#pragma once

#include <QDialog>

#include "libruqolawidgets_private_export.h"
class DirectoryTabWidget;
class RocketChatAccount;
class LIBRUQOLAWIDGETS_TESTS_EXPORT DirectoryDialog : public QDialog
{
    Q_OBJECT
public:
    explicit DirectoryDialog(RocketChatAccount *account, QWidget *parent = nullptr);
    ~DirectoryDialog() override;

    void fillTabs();

private:
    void readConfig();
    void writeConfig();
    DirectoryTabWidget *const mDirectoryTabWidget;
};
