Messagelib

filtersavedmenu.h
1 /*
2  SPDX-FileCopyrightText: 2021 Laurent Montel <[email protected]>
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>
11 class QAction;
12 namespace MessageList
13 {
14 namespace Core
15 {
16 class MESSAGELIST_TESTS_EXPORT FilterSavedMenu : public QMenu
17 {
18  Q_OBJECT
19 public:
20  explicit FilterSavedMenu(QWidget *parent = nullptr);
21  ~FilterSavedMenu() override;
22 
23 Q_SIGNALS:
24  void saveFilter();
25  void configureFilters();
26  void filterSelected(const QString &identifier);
27 
28 private:
29  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-2021 The KDE developers.
Generated on Tue Nov 30 2021 23:05:46 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.