2 * This file is part of TimedSilencer.
4 * TimedSilencer is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 3 of the License, or
7 * (at your option) any later version.
9 * TimedSilencer is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with TimedSilencer. If not, see <http://www.gnu.org/licenses/>.
24 struct QMaemo5ValueButton;
29 struct QDialogButtonBox;
31 class NewAlarmDlg : public QDialog
35 explicit NewAlarmDlg(QWidget *parent = 0, QByteArray edited_id = QByteArray());
39 void newEvent(QVariant event);
40 void editedEvent(QByteArray id, bool new_status);
41 void deletedEvent(QByteArray id);
44 ProfileEvent* saveEvent();
46 void deleteAndClose();
49 QMaemo5ValueButton *from_button, *to_button, *repeat_button;
51 QPushButton *delete_btn;
52 QPushButton *done_btn;
53 QDialogButtonBox *button_box;
57 #endif // NEWALARMDLG_H