author | hakan <hakan> | 2002-03-26 19:05:31 (UTC) |
---|---|---|
committer | hakan <hakan> | 2002-03-26 19:05:31 (UTC) |
commit | 78211642003f70797a5faa1767a5ab2f5f83606f (patch) (unidiff) | |
tree | 703df6b1f8a98dbd00066ab3c21419b7f97e41b4 /core/pim/datebook/dateentryimpl.h | |
parent | dbbbe1c0600422e4bd2d6a6aba271476f457ed97 (diff) | |
download | opie-78211642003f70797a5faa1767a5ab2f5f83606f.zip opie-78211642003f70797a5faa1767a5ab2f5f83606f.tar.gz opie-78211642003f70797a5faa1767a5ab2f5f83606f.tar.bz2 |
Added shortcut buttons to set the start time
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 | |||
@@ -37,35 +37,38 @@ public: | |||
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 |