File indexing completed on 2024-04-28 11:20:31

0001 /*
0002     SPDX-FileCopyrightText: 2009 Aleix Pol <aleixpol@kde.org>
0003 
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #ifndef KALGEBRA_EXPRESSION_H
0008 #define KALGEBRA_EXPRESSION_H
0009 
0010 #include "expression.h"
0011 
0012 class KAlgebraSession;
0013 
0014 class KAlgebraExpression : public Cantor::Expression
0015 {
0016     Q_OBJECT
0017     public:
0018         explicit KAlgebraExpression( KAlgebraSession* session, bool internal = false);
0019         ~KAlgebraExpression() override = default;
0020 
0021         void evaluate() override;
0022 
0023         void parseOutput(const QString&) override {};
0024         void parseError(const QString&) override {};
0025 };
0026 
0027 #endif