Commit eae834a8 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add signal for saving/configuring filters

parent ed1be338
Pipeline #60660 passed with stage
in 40 minutes and 2 seconds
...@@ -22,4 +22,6 @@ void FilterSavedMenu::slotShowMenu() ...@@ -22,4 +22,6 @@ void FilterSavedMenu::slotShowMenu()
clear(); clear();
// TODO load filter // TODO load filter
// TODO configure
// TODO save
} }
...@@ -6,19 +6,24 @@ ...@@ -6,19 +6,24 @@
#pragma once #pragma once
#include "messagelist_private_export.h"
#include <QMenu> #include <QMenu>
#include <QObject> #include <QObject>
namespace MessageList namespace MessageList
{ {
namespace Core namespace Core
{ {
class FilterSavedMenu : public QMenu class MESSAGELIST_TESTS_EXPORT FilterSavedMenu : public QMenu
{ {
Q_OBJECT Q_OBJECT
public: public:
explicit FilterSavedMenu(QWidget *parent = nullptr); explicit FilterSavedMenu(QWidget *parent = nullptr);
~FilterSavedMenu() override; ~FilterSavedMenu() override;
Q_SIGNALS:
void saveFilter();
void configureFilters();
private: private:
void slotShowMenu(); void slotShowMenu();
}; };
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment