Commit 6b776ab9 authored by Alexander Semke's avatar Alexander Semke

Added couple of missing 'override' keywords.

parent 110db285
......@@ -30,17 +30,17 @@ class RBackend : public Cantor::Backend
explicit RBackend( QObject* parent = 0,const QList<QVariant> args = QList<QVariant>());
~RBackend();
QString id() const;
QString id() const override;
QString version() const override;
Cantor::Session *createSession();
Cantor::Backend::Capabilities capabilities() const;
bool requirementsFullfilled() const;
Cantor::Session *createSession() override;
Cantor::Backend::Capabilities capabilities() const override;
bool requirementsFullfilled() const override;
virtual QWidget* settingsWidget(QWidget* parent) const;
virtual KConfigSkeleton* config() const;
QWidget* settingsWidget(QWidget* parent) const override;
KConfigSkeleton* config() const override;
QUrl helpUrl() const;
QString description() const;
QUrl helpUrl() const override;
QString description() const override;
};
......
......@@ -46,46 +46,45 @@ public:
* @param backend owning backend
*/
JuliaSession(Cantor::Backend *backend);
virtual ~JuliaSession() {}
/**
* @see Cantor::Session::login
*/
virtual void login() override;
void login() override;
/**
* @see Cantor::Session::logout
*/
virtual void logout() override;
void logout() override;
/**
* @see Cantor::Session::interrupt
*/
virtual void interrupt() override;
void interrupt() override;
/**
* @see Cantor::Session::evaluateExpression
*/
virtual Cantor::Expression *evaluateExpression(
Cantor::Expression *evaluateExpression(
const QString &command,
Cantor::Expression::FinishingBehavior behave) override;
/**
* @see Cantor::Session::completionFor
*/
virtual Cantor::CompletionObject *completionFor(
Cantor::CompletionObject *completionFor(
const QString &cmd,
int index = -1) override;
/**
* @see Cantor::Session::syntaxHighlighter
*/
virtual QSyntaxHighlighter *syntaxHighlighter(QObject *parent);
QSyntaxHighlighter *syntaxHighlighter(QObject *parent) override;
/**
* @see Cantor::Session::variableModel
*/
virtual QAbstractItemModel *variableModel() override;
QAbstractItemModel *variableModel() override;
/**
* @return indicator if config says to integrate plots into worksheet
......
......@@ -30,16 +30,16 @@ public:
explicit QalculateBackend( QObject* parent = 0,const QList<QVariant> args = QList<QVariant>());
~QalculateBackend();
QString id() const;
QString id() const override;
QString version() const override;
virtual Cantor::Session *createSession();
virtual Cantor::Backend::Capabilities capabilities() const;
virtual QString description() const;
virtual QUrl helpUrl() const;
virtual Cantor::Session *createSession() override;
virtual Cantor::Backend::Capabilities capabilities() const override;
virtual QString description() const override;
virtual QUrl helpUrl() const override;
QWidget* settingsWidget(QWidget* parent) const;
KConfigSkeleton* config() const;
QWidget* settingsWidget(QWidget* parent) const override;
KConfigSkeleton* config() const override;
};
......
Markdown is supported
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