-rw-r--r-- | kalarmd/alarmdialog.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kalarmd/alarmdialog.h b/kalarmd/alarmdialog.h index 52e681a..c3e0966 100644 --- a/kalarmd/alarmdialog.h +++ b/kalarmd/alarmdialog.h | |||
@@ -9,48 +9,50 @@ | |||
9 | 9 | ||
10 | This program is distributed in the hope that it will be useful, | 10 | This program is distributed in the hope that it will be useful, |
11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
13 | GNU General Public License for more details. | 13 | GNU General Public License for more details. |
14 | 14 | ||
15 | You should have received a copy of the GNU General Public License | 15 | You should have received a copy of the GNU General Public License |
16 | along with this program; if not, write to the Free Software | 16 | along with this program; if not, write to the Free Software |
17 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | 17 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
18 | 18 | ||
19 | As a special exception, permission is given to link this program | 19 | As a special exception, permission is given to link this program |
20 | with any edition of Qt, and distribute the resulting executable, | 20 | with any edition of Qt, and distribute the resulting executable, |
21 | without including the source code for Qt in the source distribution. | 21 | without including the source code for Qt in the source distribution. |
22 | */ | 22 | */ |
23 | #ifndef ALARMDIALOG_H | 23 | #ifndef ALARMDIALOG_H |
24 | #define ALARMDIALOG_H | 24 | #define ALARMDIALOG_H |
25 | 25 | ||
26 | 26 | ||
27 | 27 | ||
28 | #include <qdialog.h> | 28 | #include <qdialog.h> |
29 | #include <qdatetime.h> | 29 | #include <qdatetime.h> |
30 | #include <qstring.h> | 30 | #include <qstring.h> |
31 | #include <qcombobox.h> | 31 | #include <qcombobox.h> |
32 | #include <qpushbutton.h> | 32 | #include <qpushbutton.h> |
33 | //Added by qt3to4: | ||
34 | #include <QLabel> | ||
33 | 35 | ||
34 | #include "sharp_char.h" | 36 | #include "sharp_char.h" |
35 | 37 | ||
36 | 38 | ||
37 | class QSpinBox; | 39 | class QSpinBox; |
38 | class QLabel; | 40 | class QLabel; |
39 | class QString; | 41 | class QString; |
40 | 42 | ||
41 | class AlarmDialog : public QDialog { | 43 | class AlarmDialog : public QDialog { |
42 | Q_OBJECT | 44 | Q_OBJECT |
43 | public: | 45 | public: |
44 | AlarmDialog( QWidget *parent = 0, const char *name = 0 ); | 46 | AlarmDialog( QWidget *parent = 0, const char *name = 0 ); |
45 | virtual ~AlarmDialog(); | 47 | virtual ~AlarmDialog(); |
46 | 48 | ||
47 | bool eventNotification(QString m, int replay , QString m2 , bool, int, int ); | 49 | bool eventNotification(QString m, int replay , QString m2 , bool, int, int ); |
48 | int getSuspendTime( ); | 50 | int getSuspendTime( ); |
49 | void setSuspendTime( int ); | 51 | void setSuspendTime( int ); |
50 | void setServerNotification( bool b ); | 52 | void setServerNotification( bool b ); |
51 | 53 | ||
52 | public slots: | 54 | public slots: |
53 | void forceRepaint(); | 55 | void forceRepaint(); |
54 | void spinBoxChanged( int ); | 56 | void spinBoxChanged( int ); |
55 | void slotOk(); | 57 | void slotOk(); |
56 | void slotSuspend(); | 58 | void slotSuspend(); |