Commit 19e82ad6 authored by Nikita Sirgienko's avatar Nikita Sirgienko
Browse files

[Qalculate] Add requirementsFullfilled to QalculateBackend and fix compilation issues

parent a06a5d68
......@@ -17,11 +17,14 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA *
*************************************************************************************/
#include "qalculatebackend.h"
#include "qalculateextensions.h"
#include "qalculatesession.h"
#include "settings.h"
// include order is important
#include "ui_settings.h"
#include "settings.h"
#include "qalculatebackend.h"
#include "qalculateextensions.h"
#include <KLocalizedString>
......@@ -71,6 +74,11 @@ QUrl QalculateBackend::helpUrl() const
return QUrl(QString::fromLatin1("https://qalculate.github.io/manual/index.html"));
}
bool QalculateBackend::requirementsFullfilled(QString* const reason) const
{
return true;
}
KConfigSkeleton* QalculateBackend::config() const
{
return QalculateSettings::self();
......
......@@ -37,6 +37,7 @@ public:
Cantor::Backend::Capabilities capabilities() const override;
QString description() const override;
QUrl helpUrl() const override;
bool requirementsFullfilled(QString* const reason = nullptr) const override;
QWidget* settingsWidget(QWidget* parent) const override;
KConfigSkeleton* config() const override;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment