Warning, file /education/cantor/src/backends/scilab/scilabexpression.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 /*
0002     SPDX-License-Identifier: GPL-2.0-or-later
0003     SPDX-FileCopyrightText: 2011 Filipe Saraiva <filipe@kde.org>
0004 */
0005 
0006 #ifndef _SCILABEXPRESSION_H
0007 #define _SCILABEXPRESSION_H
0008 
0009 #include "expression.h"
0010 #include <QStringList>
0011 
0012 class ScilabExpression : public Cantor::Expression
0013 {
0014     Q_OBJECT
0015 
0016     public:
0017         explicit ScilabExpression(Cantor::Session* session, bool internal = false);
0018         ~ScilabExpression() override = default;
0019 
0020         void evaluate() override;
0021         void parseOutput(const QString&) override;
0022         void parseError(const QString&) override;
0023         void parsePlotFile(QString filename);
0024         void setPlotPending(bool plot);
0025 
0026     public Q_SLOTS:
0027         void evalFinished();
0028 
0029     private:
0030         QString m_output;
0031         bool m_finished;
0032         bool m_plotPending;
0033 };
0034 
0035 #endif /* _SCILABEXPRESSION_H */