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

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