Use override

This commit is contained in:
Jonas Kvinge
2020-06-15 21:55:05 +02:00
parent 72ede666d4
commit 651020388d
271 changed files with 1199 additions and 1231 deletions

View File

@@ -48,14 +48,14 @@ class GlobalShortcutGrabber : public QDialog {
public:
explicit GlobalShortcutGrabber(QWidget *parent = nullptr);
~GlobalShortcutGrabber();
~GlobalShortcutGrabber() override;
QKeySequence GetKey(const QString &name);
protected:
bool event(QEvent *);
void showEvent(QShowEvent *);
void hideEvent(QHideEvent *);
bool event(QEvent *e) override;
void showEvent(QShowEvent *e) override;
void hideEvent(QHideEvent *e) override;
void grabKeyboard();
void releaseKeyboard();