--- /dev/null
+/** \file calendarsetprofiledialog.h
+ \brief contain class for show dialog
+ \author Jakub Šplíchal <jakub.bzouk@gmail.com>
+ */
+#ifndef CALENDARSETPROFILEDIALOG_H
+#define CALENDARSETPROFILEDIALOG_H
+
+#include <QDialog>
+class QSettings;
+namespace Ui {
+ class CalendarSetProfileDialog;
+}
+
+
+/** \class CalendarSetProfileDialog
+ \brief class for calendar rule
+ class show dialog for modifi calendar rule
+ */
+class CalendarSetProfileDialog : public QDialog {
+ Q_OBJECT
+public:
+ CalendarSetProfileDialog(QWidget *parent = 0);
+ void SetDialog(QString profil, QString text, int priority);
+ void SetSettings(QSettings *sett);
+ int GetPriority();
+ QString GetText();
+ ~CalendarSetProfileDialog();
+
+protected:
+ void changeEvent(QEvent *e);
+ void accept();
+
+private:
+ Ui::CalendarSetProfileDialog *ui;
+ QSettings *settings;
+};
+
+#endif // CALENDARSETPROFILEDIALOG_H