source: src/gui/eventdialog.h @ 83020cd

qt5
Last change on this file since 83020cd was 872aeaa, checked in by pavelpa <pavelpa@…>, 12 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
8class EventDialog : public QDialog, Ui::EventDialog
9{
10    Q_OBJECT
11public:
12    EventDialog(const int &aEventId, QWidget *aParent = NULL);
13    ~EventDialog() {}
14private slots:
15    void favouriteClicked();
16    void alarmClicked();
17signals:
18    void eventHasChanged(int aEventId, bool aReloadModel = false); // emited when user changes some event details, eg. sets it Favourite
19private:
20    int mEventId;
21};
22
23#endif /* EVENTDIALOG_H */
24
Note: See TracBrowser for help on using the repository browser.