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

0001 /*
0002     SPDX-License-Identifier: GPL-2.0-or-later
0003     SPDX-FileCopyrightText: 2009 Alexander Rieder <alexanderrieder@gmail.com>
0004 */
0005 
0006 #ifndef _MAXIMABACKEND_H
0007 #define _MAXIMABACKEND_H
0008 
0009 #include "backend.h"
0010 #include "ui_settings.h"
0011 #include "ui_qthelpconfigeditdialog.h"
0012 
0013 class QDialog;
0014 class QTreeWidgetItem;
0015 
0016 class MaximaBackend : public Cantor::Backend
0017 {
0018   Q_OBJECT
0019   public:
0020     explicit MaximaBackend( QObject* parent = nullptr, const QList<QVariant> args = QList<QVariant>());
0021     ~MaximaBackend() override;
0022 
0023     QString id() const override;
0024     QString version() const override;
0025     Cantor::Session* createSession() override;
0026     Cantor::Backend::Capabilities capabilities() const override;
0027     bool requirementsFullfilled(QString* const reason = nullptr) const override;
0028 
0029     QUrl helpUrl() const override;
0030     QString defaultHelp() const override;
0031 
0032     QWidget* settingsWidget(QWidget* parent) const override;
0033     KConfigSkeleton* config() const override;
0034 
0035     QString description() const override;
0036 };
0037 
0038 #endif /* _MAXIMABACKEND_H */