File indexing completed on 2024-04-14 10:50:09

0001 /*
0002     SPDX-License-Identifier: GPL-2.0-or-later
0003     SPDX-FileCopyrightText: 2012 Filipe Saraiva <filipe@kde.org>
0004 */
0005 
0006 #ifndef _PYTHONBACKEND_H
0007 #define _PYTHONBACKEND_H
0008 
0009 #include "backend.h"
0010 
0011 class PythonBackend : public Cantor::Backend
0012 {
0013   Q_OBJECT
0014   public:
0015     explicit PythonBackend(QObject* parent = nullptr, const QList<QVariant>& args = QList<QVariant>());
0016 
0017     QWidget* settingsWidget(QWidget* parent) const override;
0018 
0019     Cantor::Session* createSession() override;
0020 
0021     QString id() const override;
0022     QString version() const override;
0023     Cantor::Backend::Capabilities capabilities() const override;
0024     QUrl helpUrl() const override;
0025     QString description() const override;
0026     bool requirementsFullfilled(QString* const reason = nullptr) const override;
0027     KConfigSkeleton* config() const override;
0028 };
0029 
0030 
0031 #endif /* _PYTHONBACKEND_H */