Properly override destructors in the generated API classes


The classes are derived from QObject, so their destructors are
already virtual - no need to repeat that.

Use the `override` keyword instead.

Change-Id: Id46bcbf3cfc9aa09625bf3a8dda851d08d241329
Reviewed-by: Juha Vuolle <juha.vuolle@qt.io>
Reviewed-by: Tatiana Borisova <tatiana.borisova@qt.io>
commit7f27b71d23d5aa90ac07352ab43f4cc78e64dd51
parentc1e9f36dd28e9ea154538dd1aa70d3b2b1f7dc99
authorIvan Solovev <ivan.solovev@qt.io>
committerIvan Solovev <ivan.solovev@qt.io>
commit timeTue, 5 Aug 2025 15:15:38 +0200