Changeset View
Changeset View
Standalone View
Standalone View
src/worksheet.h
Show First 20 Lines • Show All 79 Lines • ▼ Show 20 Line(s) | 59 | public: | |||
---|---|---|---|---|---|
80 | void startDrag(WorksheetEntry* entry, QDrag* drag); | 80 | void startDrag(WorksheetEntry* entry, QDrag* drag); | ||
81 | 81 | | |||
82 | void createActions(KActionCollection*); | 82 | void createActions(KActionCollection*); | ||
83 | QMenu* createContextMenu(); | 83 | QMenu* createContextMenu(); | ||
84 | void populateMenu(QMenu* menu, QPointF pos); | 84 | void populateMenu(QMenu* menu, QPointF pos); | ||
85 | EpsRenderer* epsRenderer(); | 85 | EpsRenderer* epsRenderer(); | ||
86 | bool isEmpty(); | 86 | bool isEmpty(); | ||
87 | bool isLoadingFromFile(); | 87 | bool isLoadingFromFile(); | ||
88 | bool isReadOnly() const; | ||||
asemke: should be defined const. | |||||
Another functions, like isLoadingFromFile, don't defined as const. sirgienko: Another functions, like `isLoadingFromFile`, don't defined as const. | |||||
88 | 89 | | |||
89 | WorksheetEntry* currentEntry(); | 90 | WorksheetEntry* currentEntry(); | ||
90 | WorksheetEntry* firstEntry(); | 91 | WorksheetEntry* firstEntry(); | ||
91 | WorksheetEntry* lastEntry(); | 92 | WorksheetEntry* lastEntry(); | ||
92 | WorksheetTextItem* currentTextItem(); | 93 | WorksheetTextItem* currentTextItem(); | ||
93 | WorksheetTextItem* lastFocusedTextItem(); | 94 | WorksheetTextItem* lastFocusedTextItem(); | ||
94 | 95 | | |||
95 | WorksheetCursor worksheetCursor(); | 96 | WorksheetCursor worksheetCursor(); | ||
▲ Show 20 Lines • Show All 192 Lines • ▼ Show 20 Line(s) | 253 | private: | |||
288 | KToggleAction* m_alignJustifyAction; | 289 | KToggleAction* m_alignJustifyAction; | ||
289 | 290 | | |||
290 | bool m_completionEnabled; | 291 | bool m_completionEnabled; | ||
291 | bool m_showExpressionIds; | 292 | bool m_showExpressionIds; | ||
292 | bool m_animationsEnabled; | 293 | bool m_animationsEnabled; | ||
293 | bool m_loginDone; | 294 | bool m_loginDone; | ||
294 | bool m_isPrinting; | 295 | bool m_isPrinting; | ||
295 | bool m_isLoadingFromFile; | 296 | bool m_isLoadingFromFile; | ||
297 | bool m_readOnly; | ||||
296 | 298 | | |||
299 | QString m_backendName; | ||||
297 | }; | 300 | }; | ||
298 | 301 | | |||
299 | #endif // WORKSHEET_H | 302 | #endif // WORKSHEET_H |
should be defined const.