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

  SPDX-License-Identifier: GPL-2.0-or-later
*/

#pragma once

#include "messagelist_private_export.h"
#include <QMenu>
class QAction;
namespace MessageList
{
namespace Core
{
class MESSAGELIST_TESTS_EXPORT FilterSavedMenu : public QMenu
{
    Q_OBJECT
public:
    explicit FilterSavedMenu(QWidget *parent = nullptr);
    ~FilterSavedMenu() override;

Q_SIGNALS:
    void saveFilter();
    void configureFilters();
    void filterSelected(const QString &identifier);

private:
    MESSAGELIST_NO_EXPORT void slotShowMenu();
    QAction *const mSaveAction;
    QAction *const mConfigureAction;
    QList<QAction *> mListAction;
};
}
}
