Diffstat (limited to 'core/pim/datebook/dateentryimpl.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/datebook/dateentryimpl.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/core/pim/datebook/dateentryimpl.h b/core/pim/datebook/dateentryimpl.h index 785af7a..bde3119 100644 --- a/core/pim/datebook/dateentryimpl.h +++ b/core/pim/datebook/dateentryimpl.h | |||
@@ -25,47 +25,50 @@ | |||
25 | #include <qpe/event.h> | 25 | #include <qpe/event.h> |
26 | 26 | ||
27 | #include <qdatetime.h> | 27 | #include <qdatetime.h> |
28 | 28 | ||
29 | class DateBookMonth; | 29 | class DateBookMonth; |
30 | 30 | ||
31 | class DateEntry : public DateEntryBase | 31 | class DateEntry : public DateEntryBase |
32 | { | 32 | { |
33 | Q_OBJECT | 33 | Q_OBJECT |
34 | 34 | ||
35 | public: | 35 | public: |
36 | DateEntry( bool startOnMonday, const QDateTime &start, | 36 | DateEntry( bool startOnMonday, const QDateTime &start, |
37 | const QDateTime &end, bool whichClock = FALSE, | 37 | const QDateTime &end, bool whichClock = FALSE, |
38 | QWidget* parent = 0, const char* name = 0 ); | 38 | QWidget* parent = 0, const char* name = 0 ); |
39 | DateEntry( bool startOnMonday, const Event &event, bool whichCLock = FALSE, | 39 | DateEntry( bool startOnMonday, const Event &event, bool whichCLock = FALSE, |
40 | QWidget* parent = 0, const char* name = 0 ); | 40 | QWidget* parent = 0, const char* name = 0 ); |
41 | ~DateEntry(); | 41 | ~DateEntry(); |
42 | 42 | ||
43 | Event event(); | 43 | Event event(); |
44 | void setAlarmEnabled( bool alarmPreset, int presetTime, Event::SoundTypeChoice ); | 44 | void setAlarmEnabled( bool alarmPreset, int presetTime, Event::SoundTypeChoice ); |
45 | 45 | ||
46 | public slots: | 46 | public slots: |
47 | void endDateChanged( int, int, int ); | 47 | void endDateChanged( int, int, int ); |
48 | void endTimeChanged( const QString & ); | 48 | void endTimeChanged( const QString & ); |
49 | void endTimeChanged( const QTime & ); | ||
49 | void startDateChanged(int, int, int); | 50 | void startDateChanged(int, int, int); |
50 | void startTimeChanged( int index ); | 51 | void startTimeEdited( const QString & ); |
52 | void startTimeChanged( const QTime & ); | ||
53 | void startTimePicked( const QTime & ); | ||
51 | void typeChanged( const QString & ); | 54 | void typeChanged( const QString & ); |
52 | void changeEndCombo( int change ); | ||
53 | void slotRepeat(); | 55 | void slotRepeat(); |
54 | void slotChangeClock( bool ); | 56 | void slotChangeClock( bool ); |
55 | void slotChangeStartOfWeek( bool ); | 57 | void slotChangeStartOfWeek( bool ); |
56 | 58 | ||
57 | private: | 59 | private: |
58 | void init(); | 60 | void init(); |
59 | void initCombos(); | 61 | void initCombos(); |
60 | void setDates( const QDateTime& s, const QDateTime& e ); | 62 | void setDates( const QDateTime& s, const QDateTime& e ); |
61 | void setRepeatLabel(); | 63 | void setRepeatLabel(); |
64 | void updateTimeEdit(bool,bool); | ||
62 | 65 | ||
63 | DateBookMonth *startPicker, *endPicker; | 66 | DateBookMonth *startPicker, *endPicker; |
64 | QDate startDate, endDate; | 67 | QDate startDate, endDate; |
65 | QTime startTime, endTime; | 68 | QTime startTime, endTime; |
66 | Event::RepeatPattern rp; | 69 | Event::RepeatPattern rp; |
67 | bool ampm; | 70 | bool ampm; |
68 | bool startWeekOnMonday; | 71 | bool startWeekOnMonday; |
69 | }; | 72 | }; |
70 | 73 | ||
71 | #endif // DATEENTRY_H | 74 | #endif // DATEENTRY_H |