Changeset View
Changeset View
Standalone View
Standalone View
src/wrtembed/KReportDesignerSectionScene.h
Show First 20 Lines • Show All 61 Lines • ▼ Show 20 Line(s) | 61 | Q_SIGNALS: | |||
---|---|---|---|---|---|
62 | void clicked(); | 62 | void clicked(); | ||
63 | void lostFocus(); | 63 | void lostFocus(); | ||
64 | 64 | | |||
65 | private: | 65 | private: | ||
66 | qreal lowestZValue(); | 66 | qreal lowestZValue(); | ||
67 | qreal highestZValue(); | 67 | qreal highestZValue(); | ||
68 | void exitInlineEditingModeInItems(KReportDesignerItemRectBase *rectUnderCursor); | 68 | void exitInlineEditingModeInItems(KReportDesignerItemRectBase *rectUnderCursor); | ||
69 | 69 | | |||
70 | KReportDesigner * m_rd; | 70 | KReportDesigner * m_rd; | ||
staniek: Same here | |||||
71 | 71 | | |||
72 | KReportUnit m_unit; | 72 | KReportUnit m_unit; | ||
73 | int m_minorSteps; | 73 | qreal m_majorX = 0.0; | ||
74 | qreal m_majorX; | 74 | qreal m_majorY = 0.0; | ||
75 | qreal m_majorY; | 75 | qreal m_pixelIncrementX = 0.0; | ||
76 | qreal m_pixelIncrementX; | 76 | qreal m_pixelIncrementY = 0.0; | ||
I see that m_minorSteps is used in two KReportDesignerSectionScene methods. Proposed: move it to local variable from here. staniek: I see that `m_minorSteps` is used in two KReportDesignerSectionScene methods. Proposed: move it… | |||||
77 | qreal m_pixelIncrementY; | | |||
78 | int m_dpiX; | 77 | int m_dpiX; | ||
79 | int m_dpiY; | 78 | int m_dpiY; | ||
80 | }; | 79 | }; | ||
81 | 80 | | |||
82 | #endif | 81 | #endif |
Same here