Changeset View
Changeset View
Standalone View
Standalone View
src/notificator.h
- This file was added.
1 | /* | ||||
---|---|---|---|---|---|
2 | This program is free software; you can redistribute it and/or | ||||
3 | modify it under the terms of the GNU General Public | ||||
4 | License as published by the Free Software Foundation; either | ||||
5 | version 2 of the License, or (at your option) any later version. | ||||
6 | | ||||
7 | This program is distributed in the hope that it will be useful, | ||||
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||||
10 | General Public License for more details. | ||||
11 | | ||||
12 | You should have received a copy of the GNU General Public License | ||||
13 | along with this program; if not, write to the Free Software | ||||
14 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||||
15 | */ | ||||
16 | | ||||
17 | #ifndef RSIBREAK_NOTIFICATOR_H | ||||
18 | #define RSIBREAK_NOTIFICATOR_H | ||||
19 | | ||||
20 | #include <QObject> | ||||
21 | #include <QDebug> | ||||
22 | | ||||
23 | class Notificator : public QObject | ||||
24 | { | ||||
25 | Q_OBJECT | ||||
26 | | ||||
27 | public slots: | ||||
28 | | ||||
29 | void onShortTimerReset(); | ||||
30 | | ||||
31 | void onTimersReset(); | ||||
32 | | ||||
33 | void onStartLongBreak(); | ||||
34 | | ||||
35 | void onEndLongBreak(); | ||||
36 | | ||||
37 | void onStartShortBreak(); | ||||
38 | | ||||
39 | void onEndShortBreak(); | ||||
40 | }; | ||||
41 | | ||||
42 | #endif //RSIBREAK_NOTIFICATOR_H |