equal
deleted
inserted
replaced
30 ~CalenDayUtils(); |
30 ~CalenDayUtils(); |
31 |
31 |
32 qreal screenWidth() const; |
32 qreal screenWidth() const; |
33 qreal hourElementWidth() const; |
33 qreal hourElementWidth() const; |
34 qreal hourElementHeight() const; |
34 qreal hourElementHeight() const; |
|
35 qreal minEventHeight() const; |
35 qreal contentWidth() const; |
36 qreal contentWidth() const; |
36 |
37 |
37 Qt::Orientation orientation() const; |
38 Qt::Orientation orientation() const; |
38 |
39 |
39 HbMainWindow* mainWindow(); |
40 HbMainWindow* mainWindow(); |
54 CalenDayUtils(); |
55 CalenDayUtils(); |
55 |
56 |
56 private: |
57 private: |
57 qreal calculateHourElementWidth() const; |
58 qreal calculateHourElementWidth() const; |
58 qreal calculateHourElementHeight() const; |
59 qreal calculateHourElementHeight() const; |
|
60 qreal calculateMinEventHeight() const; |
59 |
61 |
60 private: // data |
62 private: // data |
61 |
63 |
62 static CalenDayUtils* mInstance; |
64 static CalenDayUtils* mInstance; |
63 |
65 |
64 HbMainWindow* mMainWindow; //!< Pointer to main window |
66 HbMainWindow* mMainWindow; //!< Pointer to main window |
65 |
67 |
66 qreal mHourElementWidth; //!< The width of hour element |
68 qreal mHourElementWidth; //!< The width of hour element |
67 qreal mHourElementHeight; //!< The height of hour element |
69 qreal mHourElementHeight; //!< The height of hour element |
|
70 qreal mMinEventHeight; //!< The minimum height of event bubble |
68 }; |
71 }; |
69 |
72 |
70 #endif /* CALENDAYUTILS_H_ */ |
73 #endif /* CALENDAYUTILS_H_ */ |