qt5
Last change
on this file since 872aeaa was
872aeaa,
checked in by pavelpa <pavelpa@…>, 13 years ago
|
some performance optimizations
- favourities reloaded only if they have really changed
- otherwise only event in the question is updated
|
-
Property mode set to
100644
|
File size:
547 bytes
|
Line | |
---|
1 | #ifndef EVENTDIALOG_H |
---|
2 | #define EVENTDIALOG_H |
---|
3 | |
---|
4 | #include <QDialog> |
---|
5 | #include "ui_eventdialog.h" |
---|
6 | #include <event.h> |
---|
7 | |
---|
8 | class EventDialog : public QDialog, Ui::EventDialog |
---|
9 | { |
---|
10 | Q_OBJECT |
---|
11 | public: |
---|
12 | EventDialog(const int &aEventId, QWidget *aParent = NULL); |
---|
13 | ~EventDialog() {} |
---|
14 | private slots: |
---|
15 | void favouriteClicked(); |
---|
16 | void alarmClicked(); |
---|
17 | signals: |
---|
18 | void eventHasChanged(int aEventId, bool aReloadModel = false); // emited when user changes some event details, eg. sets it Favourite |
---|
19 | private: |
---|
20 | int mEventId; |
---|
21 | }; |
---|
22 | |
---|
23 | #endif /* EVENTDIALOG_H */ |
---|
24 | |
---|
Note: See
TracBrowser
for help on using the repository browser.