Commit e9214067 authored by Alexander Semke's avatar Alexander Semke
Browse files

Adding the implementation of the pure virtual function

requirementsFullfilled() in kalgebrabackend.
parent bad1aec7
......@@ -68,5 +68,11 @@ QUrl KAlgebraBackend::helpUrl() const
"http://docs.kde.org/stable/en/kdeedu/kalgebra/"));
}
bool KAlgebraBackend::requirementsFullfilled(QString* const reason) const
{
Q_UNUSED(reason);
return true;
}
K_PLUGIN_FACTORY_WITH_JSON(kalgebrabackend, "kalgebrabackend.json", registerPlugin<KAlgebraBackend>();)
#include "kalgebrabackend.moc"
......@@ -27,16 +27,16 @@ class KAlgebraBackend : public Cantor::Backend
explicit KAlgebraBackend( QObject* parent = nullptr, const QList<QVariant> args = QList<QVariant>());
~KAlgebraBackend() override = default;
QString id() const override;
QString id() const override;
Cantor::Session *createSession() override;
Cantor::Backend::Capabilities capabilities() const override;
QWidget* settingsWidget(QWidget* parent) const override;
KConfigSkeleton* config() const override;
QUrl helpUrl() const override;
QUrl helpUrl() const override;
QString version() const override;
bool requirementsFullfilled(QString* const reason) const override;
};
#endif /* _NULLBACKEND_H */
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