diff options
| author | 2018-11-28 22:00:54 -0500 | |
|---|---|---|
| committer | 2018-11-28 22:02:03 -0500 | |
| commit | 2c52bee29d4636bcdce407ac91b353d34d89258c (patch) | |
| tree | 2da7f0051d989cbf027863fef7955590d2869405 /src/modules/dcc/DccVideoWindow.h | |
| parent | Remove unnecessary usages of the inline keyword per language evolution. (diff) | |
| download | KVIrc-2c52bee29d4636bcdce407ac91b353d34d89258c.tar.gz KVIrc-2c52bee29d4636bcdce407ac91b353d34d89258c.tar.bz2 KVIrc-2c52bee29d4636bcdce407ac91b353d34d89258c.zip | |
Use override where possible and remove unnecessary usages of the virtual keyword.
Diffstat (limited to 'src/modules/dcc/DccVideoWindow.h')
| -rw-r--r-- | src/modules/dcc/DccVideoWindow.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/modules/dcc/DccVideoWindow.h b/src/modules/dcc/DccVideoWindow.h index 492744a57..080e652e6 100644 --- a/src/modules/dcc/DccVideoWindow.h +++ b/src/modules/dcc/DccVideoWindow.h @@ -103,8 +103,8 @@ protected: void startPlaying(); void stopPlaying(); bool isPlaying() const { return m_bPlaying; } - virtual void run(); - virtual bool handleIncomingData(KviDccThreadIncomingData * data, bool bCritical); + void run() override; + bool handleIncomingData(KviDccThreadIncomingData * data, bool bCritical) override; }; class DccVideoWindow : public DccWindow @@ -135,21 +135,21 @@ protected: QString m_szLocalNick; protected: - virtual void triggerCreationEvents(); - virtual void triggerDestructionEvents(); - virtual const QString & target(); - virtual void fillCaptionBuffers(); - virtual QPixmap * myIconPtr(); - virtual bool event(QEvent * e); - virtual void getBaseLogFileName(QString & buffer); + void triggerCreationEvents() override; + void triggerDestructionEvents() override; + const QString & target() override; + void fillCaptionBuffers() override; + QPixmap * myIconPtr() override; + bool event(QEvent * e) override; + void getBaseLogFileName(QString & buffer) override; void startTalking(); void stopTalking(); void startConnection(); - virtual const QString & localNick(); - virtual void ownMessage(const QString & text, bool bUserFeedback = true); - virtual void ownAction(const QString & text); - virtual void resizeEvent(QResizeEvent *); - virtual QSize sizeHint() const; + const QString & localNick() override; + void ownMessage(const QString & text, bool bUserFeedback = true) override; + void ownAction(const QString & text) override; + void resizeEvent(QResizeEvent *) override; + QSize sizeHint() const override; protected slots: void handleMarshalError(KviError::Code eError); void connected(); |
