Diffstat (limited to 'core/pim/datebook/datebookday.h') (more/less context) (show whitespace changes)
-rw-r--r-- | core/pim/datebook/datebookday.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/pim/datebook/datebookday.h b/core/pim/datebook/datebookday.h index db0f3b6..be7cc45 100644 --- a/core/pim/datebook/datebookday.h +++ b/core/pim/datebook/datebookday.h | |||
@@ -38,12 +38,14 @@ class DateBookDayView : public QTable | |||
38 | { | 38 | { |
39 | Q_OBJECT | 39 | Q_OBJECT |
40 | public: | 40 | public: |
41 | DateBookDayView( bool hourClock, QWidget *parent, const char *name ); | 41 | DateBookDayView( bool hourClock, QWidget *parent, const char *name ); |
42 | bool whichClock() const; | 42 | bool whichClock() const; |
43 | 43 | ||
44 | void setRowStyle( int style ); | ||
45 | |||
44 | public slots: | 46 | public slots: |
45 | void moveUp(); | 47 | void moveUp(); |
46 | void moveDown(); | 48 | void moveDown(); |
47 | 49 | ||
48 | signals: | 50 | signals: |
49 | void sigColWidthChanged(); | 51 | void sigColWidthChanged(); |
@@ -146,12 +148,14 @@ public: | |||
146 | QDate date() const; | 148 | QDate date() const; |
147 | DateBookDayView *dayView() const { return view; } | 149 | DateBookDayView *dayView() const { return view; } |
148 | void setStartViewTime( int startHere ); | 150 | void setStartViewTime( int startHere ); |
149 | int startViewTime() const; | 151 | int startViewTime() const; |
150 | void setSelectedWidget( DateBookDayWidget * ); | 152 | void setSelectedWidget( DateBookDayWidget * ); |
151 | DateBookDayWidget * getSelectedWidget( void ); | 153 | DateBookDayWidget * getSelectedWidget( void ); |
154 | void setJumpToCurTime( bool bJump ); | ||
155 | void setRowStyle( int style ); | ||
152 | 156 | ||
153 | public slots: | 157 | public slots: |
154 | void setDate( int y, int m, int d ); | 158 | void setDate( int y, int m, int d ); |
155 | void setDate( QDate ); | 159 | void setDate( QDate ); |
156 | void redraw(); | 160 | void redraw(); |
157 | void slotWeekChanged( bool bStartOnMonday ); | 161 | void slotWeekChanged( bool bStartOnMonday ); |
@@ -178,11 +182,13 @@ private: | |||
178 | QDate currDate; | 182 | QDate currDate; |
179 | DateBookDayView *view; | 183 | DateBookDayView *view; |
180 | DateBookDayHeader *header; | 184 | DateBookDayHeader *header; |
181 | DateBookDB *db; | 185 | DateBookDB *db; |
182 | WidgetListClass widgetList;//reimplemented QList for sorting widgets by height | 186 | WidgetListClass widgetList;//reimplemented QList for sorting widgets by height |
183 | int startTime; | 187 | int startTime; |
188 | bool jumpToCurTime;//should we jump to current time in dayview? | ||
189 | int rowStyle; | ||
184 | DateBookDayWidget *selectedWidget; //actual selected widget (obviously) | 190 | DateBookDayWidget *selectedWidget; //actual selected widget (obviously) |
185 | DateBookDayTimeMarker *timeMarker;//marker for current time | 191 | DateBookDayTimeMarker *timeMarker;//marker for current time |
186 | }; | 192 | }; |
187 | 193 | ||
188 | #endif | 194 | #endif |