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:
parent
4f25e01b96
commit
e1aa0195ac
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user