1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

refactor: declare final overrides private

This commit is contained in:
Nils Fenner 2016-08-14 20:03:55 +02:00 committed by Diadlo
parent 4f25e01b96
commit e1aa0195ac
No known key found for this signature in database
GPG Key ID: 5AF9F2E29107C727

View File

@ -184,14 +184,6 @@ signals:
void resized();
void windowStateChanged(Qt::WindowStates states);
protected:
virtual bool eventFilter(QObject* obj, QEvent* event) final override;
virtual bool event(QEvent* e) final override;
virtual void closeEvent(QCloseEvent* event) final override;
virtual void changeEvent(QEvent* event) final override;
virtual void resizeEvent(QResizeEvent* event) final override;
virtual void moveEvent(QMoveEvent* event) final override;
private slots:
void onAddClicked();
void onGroupClicked();
@ -225,6 +217,14 @@ private slots:
void onCallEnd(uint32_t friendId);
private:
// QMainWindow overrides
bool eventFilter(QObject* obj, QEvent* event) final override;
bool event(QEvent* e) final override;
void closeEvent(QCloseEvent* event) final override;
void changeEvent(QEvent* event) final override;
void resizeEvent(QResizeEvent* event) final override;
void moveEvent(QMoveEvent* event) final override;
bool newMessageAlert(QWidget* currentWindow, bool isActive, bool sound = true, bool notify = true);
void setActiveToolMenuButton(ActiveToolMenuButton newActiveButton);
void hideMainForms(GenericChatroomWidget* chatroomWidget);