File indexing completed on 2024-05-19 11:21:24

0001 /*
0002     SPDX-License-Identifier: GPL-2.0-or-later
0003     SPDX-FileCopyrightText: 2009 Alexander Rieder <alexanderrieder@gmail.com>
0004 */
0005 
0006 #ifndef _MAXIMASYNTAXHELPOBJECT_H
0007 #define _MAXIMASYNTAXHELPOBJECT_H
0008 
0009 #include "syntaxhelpobject.h"
0010 
0011 #include "expression.h"
0012 
0013 class MaximaSession;
0014 
0015 class MaximaSyntaxHelpObject : public Cantor::SyntaxHelpObject
0016 {
0017   Q_OBJECT
0018   public:
0019     MaximaSyntaxHelpObject( const QString& command, MaximaSession* session );
0020     ~MaximaSyntaxHelpObject() override = default;
0021 
0022   protected Q_SLOTS:
0023     void fetchInformation() override;
0024   private Q_SLOTS:
0025     void expressionChangedStatus(Cantor::Expression::Status status);
0026 
0027   private:
0028     Cantor::Expression* m_expression;
0029 };
0030 
0031 #endif /* _MAXIMASYNTAXHELPOBJECT_H */