Verified Commit a676979a authored by Alexander Akulich's avatar Alexander Akulich
Browse files

Use override specifiers wherever it makes sense

parent 4c52b193
......@@ -27,8 +27,8 @@ public:
ApproverDaemon(QObject *parent = 0);
protected:
virtual void addDispatchOperation(const Tp::MethodInvocationContextPtr<> & context,
const Tp::ChannelDispatchOperationPtr & dispatchOperation);
void addDispatchOperation(const Tp::MethodInvocationContextPtr<> & context,
const Tp::ChannelDispatchOperationPtr & dispatchOperation) override;
};
#endif // APPROVERDAEMON_H
......@@ -27,8 +27,6 @@ class ChannelApprover : public QObject
public:
static ChannelApprover *create(const Tp::ChannelPtr & channel, QObject *parent);
virtual ~ChannelApprover() {}
Q_SIGNALS:
void channelAccepted();
void channelRejected();
......
......@@ -28,7 +28,7 @@ class DispatchOperation : public QObject
Q_OBJECT
public:
DispatchOperation(const Tp::ChannelDispatchOperationPtr & dispatchOperation, QObject *parent);
virtual ~DispatchOperation();
~DispatchOperation() override;
private Q_SLOTS:
......
......@@ -30,7 +30,7 @@ class FileTransferChannelApprover : public ChannelApprover
Q_OBJECT
public:
FileTransferChannelApprover(const Tp::FileTransferChannelPtr & channel, QObject *parent);
virtual ~FileTransferChannelApprover();
~FileTransferChannelApprover() override;
private:
QPointer<KNotification> m_notification;
......
......@@ -32,7 +32,7 @@ class TextChannelApprover : public ChannelApprover
Q_OBJECT
public:
TextChannelApprover(const Tp::TextChannelPtr & channel, QObject *parent);
virtual ~TextChannelApprover();
~TextChannelApprover() override;
private Q_SLOTS:
void onMessageReceived(const Tp::ReceivedMessage & msg);
......
......@@ -34,7 +34,7 @@ class TubeChannelApprover : public ChannelApprover
public:
TubeChannelApprover(const Tp::TubeChannelPtr &channel, QObject* parent);
virtual ~TubeChannelApprover();
~TubeChannelApprover() override;
private Q_SLOTS:
void onChannelAccepted();
......
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