author | umopapisdn <umopapisdn> | 2003-03-24 09:06:06 (UTC) |
---|---|---|
committer | umopapisdn <umopapisdn> | 2003-03-24 09:06:06 (UTC) |
commit | fea2436fef9e7096b31840e7170a23280f3d6e39 (patch) (unidiff) | |
tree | 83bcaeafa071242e4b1d5df76409ff41d9900eac /core/pim/datebook/datebookday.h | |
parent | 4a0041efd5cc7e08063c09b02858fcd9c2b59880 (diff) | |
download | opie-fea2436fef9e7096b31840e7170a23280f3d6e39.zip opie-fea2436fef9e7096b31840e7170a23280f3d6e39.tar.gz opie-fea2436fef9e7096b31840e7170a23280f3d6e39.tar.bz2 |
New feature: In dayview it's now possible to duplicate an event (and immediatly change some parameters for the duplicate).
Diffstat (limited to 'core/pim/datebook/datebookday.h') (more/less context) (show whitespace changes)
-rw-r--r-- | core/pim/datebook/datebookday.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/pim/datebook/datebookday.h b/core/pim/datebook/datebookday.h index db1cd04..2faf24e 100644 --- a/core/pim/datebook/datebookday.h +++ b/core/pim/datebook/datebookday.h | |||
@@ -70,24 +70,25 @@ class DateBookDayWidget : public QWidget | |||
70 | 70 | ||
71 | public: | 71 | public: |
72 | DateBookDayWidget( const EffectiveEvent &e, DateBookDay *db ); | 72 | DateBookDayWidget( const EffectiveEvent &e, DateBookDay *db ); |
73 | ~DateBookDayWidget(); | 73 | ~DateBookDayWidget(); |
74 | 74 | ||
75 | const QRect &geometry() { return geom; } | 75 | const QRect &geometry() { return geom; } |
76 | void setGeometry( const QRect &r ); | 76 | void setGeometry( const QRect &r ); |
77 | 77 | ||
78 | const EffectiveEvent &event() const { return ev; } | 78 | const EffectiveEvent &event() const { return ev; } |
79 | 79 | ||
80 | signals: | 80 | signals: |
81 | void deleteMe( const Event &e ); | 81 | void deleteMe( const Event &e ); |
82 | void duplicateMe( const Event &e ); | ||
82 | void editMe( const Event &e ); | 83 | void editMe( const Event &e ); |
83 | void beamMe( const Event &e ); | 84 | void beamMe( const Event &e ); |
84 | 85 | ||
85 | protected: | 86 | protected: |
86 | void paintEvent( QPaintEvent *e ); | 87 | void paintEvent( QPaintEvent *e ); |
87 | void mousePressEvent( QMouseEvent *e ); | 88 | void mousePressEvent( QMouseEvent *e ); |
88 | 89 | ||
89 | private: | 90 | private: |
90 | /** | 91 | /** |
91 | * Sets the text for an all day Event | 92 | * Sets the text for an all day Event |
92 | * All day events have no time associated | 93 | * All day events have no time associated |
93 | */ | 94 | */ |
@@ -166,24 +167,25 @@ public: | |||
166 | void setRowStyle( int style ); | 167 | void setRowStyle( int style ); |
167 | 168 | ||
168 | public slots: | 169 | public slots: |
169 | void setDate( int y, int m, int d ); | 170 | void setDate( int y, int m, int d ); |
170 | void setDate( QDate ); | 171 | void setDate( QDate ); |
171 | void redraw(); | 172 | void redraw(); |
172 | void slotWeekChanged( bool bStartOnMonday ); | 173 | void slotWeekChanged( bool bStartOnMonday ); |
173 | void updateView();//updates TimeMarker and DayWidget-colors | 174 | void updateView();//updates TimeMarker and DayWidget-colors |
174 | 175 | ||
175 | signals: | 176 | signals: |
176 | void removeEvent( const Event& ); | 177 | void removeEvent( const Event& ); |
177 | void editEvent( const Event& ); | 178 | void editEvent( const Event& ); |
179 | void duplicateEvent( const Event& ); | ||
178 | void beamEvent( const Event& ); | 180 | void beamEvent( const Event& ); |
179 | void newEvent(); | 181 | void newEvent(); |
180 | void sigNewEvent( const QString & ); | 182 | void sigNewEvent( const QString & ); |
181 | 183 | ||
182 | protected slots: | 184 | protected slots: |
183 | void keyPressEvent(QKeyEvent *); | 185 | void keyPressEvent(QKeyEvent *); |
184 | 186 | ||
185 | private slots: | 187 | private slots: |
186 | void dateChanged( int y, int m, int d ); | 188 | void dateChanged( int y, int m, int d ); |
187 | void slotColWidthChanged() { relayoutPage(); }; | 189 | void slotColWidthChanged() { relayoutPage(); }; |
188 | 190 | ||
189 | private: | 191 | private: |