Changeset View
Changeset View
Standalone View
Standalone View
src/backends/maxima/maximasession.h
Show First 20 Lines • Show All 44 Lines • ▼ Show 20 Line(s) | 34 | public: | |||
---|---|---|---|---|---|
45 | void interrupt() override; | 45 | void interrupt() override; | ||
46 | void sendInputToProcess(const QString&); | 46 | void sendInputToProcess(const QString&); | ||
47 | 47 | | |||
48 | void setTypesettingEnabled(bool) override; | 48 | void setTypesettingEnabled(bool) override; | ||
49 | 49 | | |||
50 | Cantor::CompletionObject* completionFor(const QString& command, int index=-1) override; | 50 | Cantor::CompletionObject* completionFor(const QString& command, int index=-1) override; | ||
51 | Cantor::SyntaxHelpObject* syntaxHelpFor(const QString& command) override; | 51 | Cantor::SyntaxHelpObject* syntaxHelpFor(const QString& command) override; | ||
52 | QSyntaxHighlighter* syntaxHighlighter(QObject*) override; | 52 | QSyntaxHighlighter* syntaxHighlighter(QObject*) override; | ||
53 | QAbstractItemModel* variableModel() override; | | |||
54 | void runFirstExpression() override; | 53 | void runFirstExpression() override; | ||
55 | 54 | | |||
56 | public Q_SLOTS: | 55 | public Q_SLOTS: | ||
57 | void readStdOut(); | 56 | void readStdOut(); | ||
58 | void readStdErr(); | 57 | void readStdErr(); | ||
59 | 58 | | |||
60 | private Q_SLOTS: | 59 | private Q_SLOTS: | ||
61 | void currentExpressionChangedStatus(Cantor::Expression::Status); | 60 | void currentExpressionChangedStatus(Cantor::Expression::Status); | ||
62 | void restartMaxima(); | 61 | void restartMaxima(); | ||
63 | void restartsCooledDown(); | 62 | void restartsCooledDown(); | ||
64 | void reportProcessError(QProcess::ProcessError); | 63 | void reportProcessError(QProcess::ProcessError); | ||
65 | 64 | | |||
66 | private: | 65 | private: | ||
67 | void write(const QString&); | 66 | void write(const QString&); | ||
68 | 67 | | |||
69 | QProcess* m_process; | 68 | QProcess* m_process; | ||
70 | QString m_cache; | 69 | QString m_cache; | ||
71 | MaximaVariableModel* m_variableModel; | | |||
72 | bool m_justRestarted; | 70 | bool m_justRestarted; | ||
73 | }; | 71 | }; | ||
74 | 72 | | |||
75 | #endif /* _MAXIMASESSION_H */ | 73 | #endif /* _MAXIMASESSION_H */ |