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