summaryrefslogtreecommitdiff
path: root/core/pim/datebook/datebooksettings.h
Unidiff
Diffstat (limited to 'core/pim/datebook/datebooksettings.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/datebook/datebooksettings.h48
1 files changed, 48 insertions, 0 deletions
diff --git a/core/pim/datebook/datebooksettings.h b/core/pim/datebook/datebooksettings.h
new file mode 100644
index 0000000..ee9f39c
--- a/dev/null
+++ b/core/pim/datebook/datebooksettings.h
@@ -0,0 +1,48 @@
1/**********************************************************************
2** Copyright (C) 2000 Trolltech AS. All rights reserved.
3**
4** This file is part of Qtopia Environment.
5**
6** This file may be distributed and/or modified under the terms of the
7** GNU General Public License version 2 as published by the Free Software
8** Foundation and appearing in the file LICENSE.GPL included in the
9** packaging of this file.
10**
11** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
12** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
13**
14** See http://www.trolltech.com/gpl/ for GPL licensing information.
15**
16** Contact info@trolltech.com if any conditions of this licensing are
17** not clear to you.
18**
19**********************************************************************/
20
21#ifndef DATEBOOKSETTINGS_H
22#define DATEBOOKSETTINGS_H
23#include "datebooksettingsbase.h"
24
25class DateBookSettings : public DateBookSettingsBase
26{
27public:
28 DateBookSettings( bool whichClock, QWidget *parent = 0,
29 const char *name = 0, bool modal = TRUE, WFlags = 0 );
30 ~DateBookSettings();
31 void setStartTime( int newStartViewTime );
32 int startTime() const;
33 void setAlarmPreset( bool bAlarm, int presetTime );
34 bool alarmPreset() const;
35 int presetTime() const;
36 void setAlarmType( int alarmType );
37 int alarmType() const;
38
39private slots:
40 void slot12Hour( int );
41 void slotChangeClock( bool );
42
43private:
44 void init();
45 bool ampm;
46 int oldtime;
47};
48#endif