author | hakan <hakan> | 2002-05-07 15:27:34 (UTC) |
---|---|---|
committer | hakan <hakan> | 2002-05-07 15:27:34 (UTC) |
commit | ad2c6f2e1b5504989ceed297d9ee8c49129ad1fb (patch) (unidiff) | |
tree | 60d75877abb05a322b265d8b50621f3f7f75c9d1 /core/pim/datebook/dateentryimpl.h | |
parent | 8ba0398d93f0e70ea2de254a4090d8bd02f593cd (diff) | |
download | opie-ad2c6f2e1b5504989ceed297d9ee8c49129ad1fb.zip opie-ad2c6f2e1b5504989ceed297d9ee8c49129ad1fb.tar.gz opie-ad2c6f2e1b5504989ceed297d9ee8c49129ad1fb.tar.bz2 |
Added separate note editor dialog (currently only a QMultiLineEdit)
Diffstat (limited to 'core/pim/datebook/dateentryimpl.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/datebook/dateentryimpl.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/pim/datebook/dateentryimpl.h b/core/pim/datebook/dateentryimpl.h index 4eb24b4..a3c4668 100644 --- a/core/pim/datebook/dateentryimpl.h +++ b/core/pim/datebook/dateentryimpl.h | |||
@@ -12,24 +12,25 @@ | |||
12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | 12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
13 | ** | 13 | ** |
14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. | 14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. |
15 | ** | 15 | ** |
16 | ** Contact info@trolltech.com if any conditions of this licensing are | 16 | ** Contact info@trolltech.com if any conditions of this licensing are |
17 | ** not clear to you. | 17 | ** not clear to you. |
18 | ** | 18 | ** |
19 | **********************************************************************/ | 19 | **********************************************************************/ |
20 | #ifndef DATEENTRY_H | 20 | #ifndef DATEENTRY_H |
21 | #define DATEENTRY_H | 21 | #define DATEENTRY_H |
22 | 22 | ||
23 | #include "dateentry.h" | 23 | #include "dateentry.h" |
24 | #include "noteentryimpl.h" | ||
24 | 25 | ||
25 | #include <qpe/event.h> | 26 | #include <qpe/event.h> |
26 | 27 | ||
27 | #include <qdatetime.h> | 28 | #include <qdatetime.h> |
28 | 29 | ||
29 | class DateBookMonth; | 30 | class DateBookMonth; |
30 | 31 | ||
31 | class DateEntry : public DateEntryBase | 32 | class DateEntry : public DateEntryBase |
32 | { | 33 | { |
33 | Q_OBJECT | 34 | Q_OBJECT |
34 | 35 | ||
35 | public: | 36 | public: |
@@ -46,30 +47,33 @@ public: | |||
46 | public slots: | 47 | public slots: |
47 | void endDateChanged( int, int, int ); | 48 | void endDateChanged( int, int, int ); |
48 | void endTimeChanged( const QString & ); | 49 | void endTimeChanged( const QString & ); |
49 | void endTimeChanged( const QTime & ); | 50 | void endTimeChanged( const QTime & ); |
50 | void startDateChanged(int, int, int); | 51 | void startDateChanged(int, int, int); |
51 | void startTimeEdited( const QString & ); | 52 | void startTimeEdited( const QString & ); |
52 | void startTimeChanged( const QTime & ); | 53 | void startTimeChanged( const QTime & ); |
53 | void startTimePicked( const QTime & ); | 54 | void startTimePicked( const QTime & ); |
54 | void typeChanged( const QString & ); | 55 | void typeChanged( const QString & ); |
55 | void slotRepeat(); | 56 | void slotRepeat(); |
56 | void slotChangeClock( bool ); | 57 | void slotChangeClock( bool ); |
57 | void slotChangeStartOfWeek( bool ); | 58 | void slotChangeStartOfWeek( bool ); |
59 | void slotEditNote(); | ||
58 | 60 | ||
59 | private: | 61 | private: |
60 | void init(); | 62 | void init(); |
61 | void initCombos(); | 63 | void initCombos(); |
62 | void setDates( const QDateTime& s, const QDateTime& e ); | 64 | void setDates( const QDateTime& s, const QDateTime& e ); |
63 | void setRepeatLabel(); | 65 | void setRepeatLabel(); |
64 | void updateTimeEdit(bool,bool); | 66 | void updateTimeEdit(bool,bool); |
65 | 67 | ||
66 | DateBookMonth *startPicker, *endPicker; | 68 | DateBookMonth *startPicker, *endPicker; |
67 | QDate startDate, endDate; | 69 | QDate startDate, endDate; |
68 | QTime startTime, endTime; | 70 | QTime startTime, endTime; |
69 | Event::RepeatPattern rp; | 71 | Event::RepeatPattern rp; |
70 | bool ampm:1; | 72 | bool ampm:1; |
71 | bool startWeekOnMonday:1; | 73 | bool startWeekOnMonday:1; |
72 | bool m_showStart:1; | 74 | bool m_showStart:1; |
75 | |||
76 | QString noteStr; | ||
73 | }; | 77 | }; |
74 | 78 | ||
75 | #endif // DATEENTRY_H | 79 | #endif // DATEENTRY_H |