Debian Codegraph @

src/librssguard/gui/notifications/notificationseditor.h

raw symbols SCIP
1 // For license of this file, see <project-root-folder>/LICENSE.md.
2
3 #ifndef NOTIFICATIONSEDITOR_H
4 #define NOTIFICATIONSEDITOR_H
5
6 #include "miscellaneous/notification.h"
7
8 #include "ui_notificationseditor.h"
9
10 #include <QWidget>
11
12 class QVBoxLayout;
13
14 class NotificationsEditor : public QWidget {
15 Q_OBJECT
16
17 public:
18 explicit NotificationsEditor(QWidget* parent = nullptr);
19
20 void loadNotifications(const QList<Notification>& notifications);
21
22 QList<Notification> allNotifications() const;
23
24 signals:
25 void someNotificationChanged();
26
27 private:
28 Ui::NotificationsEditor m_ui;
29 QVBoxLayout* m_layout;
30 };
31
32 #endif // NOTIFICATIONSEDITOR_H