Changeset View
Changeset View
Standalone View
Standalone View
src/cantor_part.h
Show All 16 Lines | 1 | /* | |||
---|---|---|---|---|---|
17 | --- | 17 | --- | ||
18 | Copyright (C) 2009 Alexander Rieder <alexanderrieder@gmail.com> | 18 | Copyright (C) 2009 Alexander Rieder <alexanderrieder@gmail.com> | ||
19 | */ | 19 | */ | ||
20 | 20 | | |||
21 | #ifndef CANTORPART_H | 21 | #ifndef CANTORPART_H | ||
22 | #define CANTORPART_H | 22 | #define CANTORPART_H | ||
23 | 23 | | |||
24 | #include <QPointer> | 24 | #include <QPointer> | ||
25 | #include <QVector> | ||||
25 | 26 | | |||
26 | #include <KParts/ReadWritePart> | 27 | #include <KParts/ReadWritePart> | ||
27 | #include <lib/session.h> | 28 | #include <lib/session.h> | ||
28 | 29 | | |||
29 | class QWidget; | 30 | class QWidget; | ||
30 | class Worksheet; | 31 | class Worksheet; | ||
31 | class WorksheetView; | 32 | class WorksheetView; | ||
32 | class SarchBar; | 33 | class SarchBar; | ||
▲ Show 20 Lines • Show All 65 Lines • ▼ Show 20 Line(s) | 86 | protected: | |||
98 | * or if it looses activity | 99 | * or if it looses activity | ||
99 | **/ | 100 | **/ | ||
100 | void guiActivateEvent( KParts::GUIActivateEvent * event ) override; | 101 | void guiActivateEvent( KParts::GUIActivateEvent * event ) override; | ||
101 | 102 | | |||
102 | 103 | | |||
103 | void loadAssistants(); | 104 | void loadAssistants(); | ||
104 | void adjustGuiToSession(); | 105 | void adjustGuiToSession(); | ||
105 | 106 | | |||
107 | void setReadOnly(); | ||||
108 | | ||||
106 | protected Q_SLOTS: | 109 | protected Q_SLOTS: | ||
107 | void fileSaveAs(); | 110 | void fileSaveAs(); | ||
108 | void fileSavePlain(); | 111 | void fileSavePlain(); | ||
109 | void exportToLatex(); | 112 | void exportToLatex(); | ||
110 | void evaluateOrInterrupt(); | 113 | void evaluateOrInterrupt(); | ||
111 | void restartBackend(); | 114 | void restartBackend(); | ||
112 | void enableTypesetting(bool enable); | 115 | void enableTypesetting(bool enable); | ||
113 | void showBackendHelp(); | 116 | void showBackendHelp(); | ||
▲ Show 20 Lines • Show All 52 Lines • ▼ Show 20 Line(s) | 158 | private: | |||
166 | QAction * m_findNext; | 169 | QAction * m_findNext; | ||
167 | QAction * m_findPrev; | 170 | QAction * m_findPrev; | ||
168 | KToggleAction* m_typeset; | 171 | KToggleAction* m_typeset; | ||
169 | KToggleAction* m_highlight; | 172 | KToggleAction* m_highlight; | ||
170 | KToggleAction* m_completion; | 173 | KToggleAction* m_completion; | ||
171 | KToggleAction* m_exprNumbering; | 174 | KToggleAction* m_exprNumbering; | ||
172 | KToggleAction* m_animateWorksheet; | 175 | KToggleAction* m_animateWorksheet; | ||
173 | QAction * m_showBackendHelp; | 176 | QAction * m_showBackendHelp; | ||
177 | QVector<QAction*> m_editActions; | ||||
174 | 178 | | |||
175 | QString m_cachedStatusMessage; | 179 | QString m_cachedStatusMessage; | ||
176 | bool m_statusBarBlocked; | 180 | bool m_statusBarBlocked; | ||
177 | unsigned int m_sessionStatusCounter; | 181 | unsigned int m_sessionStatusCounter; | ||
178 | }; | 182 | }; | ||
179 | 183 | | |||
180 | #endif // CANTORPART_H | 184 | #endif // CANTORPART_H |