Changeset View
Changeset View
Standalone View
Standalone View
src/backends/qalculate/qalculatesession.h
Show First 20 Lines • Show All 69 Lines • ▼ Show 20 Line(s) | 63 | public: | |||
---|---|---|---|---|---|
70 | void interrupt() override; | 70 | void interrupt() override; | ||
71 | 71 | | |||
72 | Cantor::Expression* evaluateExpression(const QString& command, Cantor::Expression::FinishingBehavior behave = Cantor::Expression::FinishingBehavior::DoNotDelete, bool internal = false) override; | 72 | Cantor::Expression* evaluateExpression(const QString& command, Cantor::Expression::FinishingBehavior behave = Cantor::Expression::FinishingBehavior::DoNotDelete, bool internal = false) override; | ||
73 | Cantor::CompletionObject* completionFor(const QString& cmd, int index=-1) override; | 73 | Cantor::CompletionObject* completionFor(const QString& cmd, int index=-1) override; | ||
74 | Cantor::SyntaxHelpObject* syntaxHelpFor(const QString& cmd) override; | 74 | Cantor::SyntaxHelpObject* syntaxHelpFor(const QString& cmd) override; | ||
75 | QSyntaxHighlighter* syntaxHighlighter(QObject* parent) override; | 75 | QSyntaxHighlighter* syntaxHighlighter(QObject* parent) override; | ||
76 | 76 | | |||
77 | void runExpression(); | 77 | void runExpression(); | ||
78 | QAbstractItemModel* variableModel() override; | 78 | Cantor::DefaultVariableModel* variableModel() const override; | ||
79 | 79 | | |||
80 | public: | 80 | public: | ||
81 | QMap<QString,QString> variables; | 81 | QMap<QString,QString> variables; | ||
82 | 82 | | |||
83 | public Q_SLOTS: | 83 | public Q_SLOTS: | ||
84 | void readOutput(); | 84 | void readOutput(); | ||
85 | void readError(); | 85 | void readError(); | ||
86 | void processStarted(); | 86 | void processStarted(); | ||
87 | void currentExpressionStatusChanged(Cantor::Expression::Status status); | 87 | void currentExpressionStatusChanged(Cantor::Expression::Status status); | ||
88 | }; | 88 | }; | ||
89 | 89 | | |||
90 | #endif | 90 | #endif |