N9profile
[n9profile] / calendarsetprofiledialog.h
1 /** \file calendarsetprofiledialog.h
2   \brief   contain class for show dialog
3   \author Jakub Šplíchal <jakub.bzouk@gmail.com>
4  */
5 #ifndef CALENDARSETPROFILEDIALOG_H
6 #define CALENDARSETPROFILEDIALOG_H
7
8 #include <QDialog>
9 class QSettings;
10 namespace Ui {
11     class CalendarSetProfileDialog;
12 }
13
14
15 /** \class CalendarSetProfileDialog
16   \brief class for calendar rule
17   class show dialog for modifi calendar rule
18  */
19 class CalendarSetProfileDialog : public QDialog {
20     Q_OBJECT
21 public:
22     CalendarSetProfileDialog(QWidget *parent = 0);
23     void SetDialog(QString profil, QString text, int priority);
24     void SetSettings(QSettings *sett);
25     int GetPriority();
26     QString GetText();
27     ~CalendarSetProfileDialog();
28
29 protected:
30     void changeEvent(QEvent *e);
31         void accept();
32
33 private:
34     Ui::CalendarSetProfileDialog *ui;
35     QSettings *settings;
36 };
37
38 #endif // CALENDARSETPROFILEDIALOG_H