mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-03-25 08:49:59 +01:00
Modernize-use-override refactors code
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5009 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -29,7 +29,7 @@ class QETMainWindow : public QMainWindow {
|
||||
// constructor, destructor
|
||||
public:
|
||||
QETMainWindow(QWidget * = nullptr, Qt::WindowFlags = nullptr);
|
||||
virtual ~QETMainWindow();
|
||||
~QETMainWindow() override;
|
||||
|
||||
// methods
|
||||
protected:
|
||||
@@ -39,9 +39,9 @@ class QETMainWindow : public QMainWindow {
|
||||
QAction *actionForMenu(QMenu *);
|
||||
|
||||
protected:
|
||||
virtual bool event(QEvent *);
|
||||
virtual void dragEnterEvent(QDragEnterEvent *e);
|
||||
virtual void dropEvent(QDropEvent *e);
|
||||
bool event(QEvent *) override;
|
||||
void dragEnterEvent(QDragEnterEvent *e) override;
|
||||
void dropEvent(QDropEvent *e) override;
|
||||
virtual void firstActivation(QEvent *);
|
||||
|
||||
// slots
|
||||
|
||||
Reference in New Issue
Block a user