Messagelib

filtersavedmenu.h
1/*
2 SPDX-FileCopyrightText: 2021-2024 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5*/
6
7#pragma once
8
9#include "messagelist_private_export.h"
10#include <QMenu>
11class QAction;
12namespace MessageList
13{
14namespace Core
15{
16class MESSAGELIST_TESTS_EXPORT FilterSavedMenu : public QMenu
17{
18 Q_OBJECT
19public:
20 explicit FilterSavedMenu(QWidget *parent = nullptr);
21 ~FilterSavedMenu() override;
22
23Q_SIGNALS:
24 void saveFilter();
25 void configureFilters();
26 void filterSelected(const QString &identifier);
27
28private:
29 MESSAGELIST_NO_EXPORT void slotShowMenu();
30 QAction *const mSaveAction;
31 QAction *const mConfigureAction;
32 QList<QAction *> mListAction;
33};
34}
35}
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:50:54 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.