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

0001 /*
0002     SPDX-FileCopyrightText: 2010 Miha Čančula <miha.cancula@gmail.com>
0003 
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #ifndef OCTAVESYNTAXHELPOBJECT_H
0008 #define OCTAVESYNTAXHELPOBJECT_H
0009 
0010 #include <syntaxhelpobject.h>
0011 #include <expression.h>
0012 
0013 class OctaveSyntaxHelpObject : public Cantor::SyntaxHelpObject
0014 {
0015   Q_OBJECT
0016   public:
0017     OctaveSyntaxHelpObject(const QString& command, Cantor::Session* session);
0018     ~OctaveSyntaxHelpObject() override = default;
0019 
0020 protected:
0021     void fetchInformation() override;
0022 
0023   private Q_SLOTS:
0024     void fetchingDone(Cantor::Expression::Status status);
0025 
0026   private:
0027     Cantor::Expression* m_expression;
0028 };
0029 
0030 #endif // OCTAVESYNTAXHELPOBJECT_H