diff --git a/isoimagewriter/maindialog.h b/isoimagewriter/maindialog.h --- a/isoimagewriter/maindialog.h +++ b/isoimagewriter/maindialog.h @@ -76,12 +76,12 @@ void cleanup(); // Reimplemented event handlers for drag&drop support - void dragEnterEvent(QDragEnterEvent* event); - void dropEvent(QDropEvent* event); + void dragEnterEvent(QDragEnterEvent* event) override; + void dropEvent(QDropEvent* event) override; // Reimplemented event handlers for protecting dialog closing during operation - void closeEvent(QCloseEvent* event); - void keyPressEvent(QKeyEvent* event); + void closeEvent(QCloseEvent* event) override; + void keyPressEvent(QKeyEvent* event) override; // Reloads the list of USB flash disks void enumFlashDevices(); diff --git a/isoimagewriter/usbdevicemonitor.h b/isoimagewriter/usbdevicemonitor.h --- a/isoimagewriter/usbdevicemonitor.h +++ b/isoimagewriter/usbdevicemonitor.h @@ -40,7 +40,7 @@ ~UsbDeviceMonitor(); // Implements QAbstractNativeEventFilter interface for processing WM_DEVICECHANGE messages (Windows) - bool nativeEventFilter(const QByteArray& eventType, void* message, long* result); + bool nativeEventFilter(const QByteArray& eventType, void* message, long* result) override; protected: // Closes handles and frees resources diff --git a/isoimagewriter/verifyarchiso.h b/isoimagewriter/verifyarchiso.h --- a/isoimagewriter/verifyarchiso.h +++ b/isoimagewriter/verifyarchiso.h @@ -37,8 +37,8 @@ * Default constructor */ VerifyArchISO(QString filename); - bool canVerify(); - bool isValid(); + bool canVerify() override; + bool isValid() override; }; #endif // VERIFYNEONISO_H diff --git a/isoimagewriter/verifyisoworker.h b/isoimagewriter/verifyisoworker.h --- a/isoimagewriter/verifyisoworker.h +++ b/isoimagewriter/verifyisoworker.h @@ -44,7 +44,7 @@ void doVerificationNeon(); void doVerificationKubuntu(); bool isResultReady(); - void run(); + void run() override; private: bool m_result; diff --git a/isoimagewriter/verifykubuntuiso.h b/isoimagewriter/verifykubuntuiso.h --- a/isoimagewriter/verifykubuntuiso.h +++ b/isoimagewriter/verifykubuntuiso.h @@ -37,8 +37,8 @@ * Default constructor */ VerifyKubuntuISO(QString filename); - bool canVerify(); - bool isValid(); + bool canVerify() override; + bool isValid() override; }; #endif // VERIFYKUBUNTUISO_H diff --git a/isoimagewriter/verifyneoniso.h b/isoimagewriter/verifyneoniso.h --- a/isoimagewriter/verifyneoniso.h +++ b/isoimagewriter/verifyneoniso.h @@ -37,8 +37,8 @@ * Default constructor */ VerifyNeonISO(QString filename); - bool canVerify(); - bool isValid(); + bool canVerify() override; + bool isValid() override; }; #endif // VERIFYNEONISO_H diff --git a/isoimagewriter/verifynetrunneriso.h b/isoimagewriter/verifynetrunneriso.h --- a/isoimagewriter/verifynetrunneriso.h +++ b/isoimagewriter/verifynetrunneriso.h @@ -37,8 +37,8 @@ * Default constructor */ VerifyNetrunnerISO(QString filename); - bool canVerify(); - bool isValid(); + bool canVerify() override; + bool isValid() override; }; #endif // VERIFYNETRUNNERISO_H