1 // Copyright 2017 Dolphin Emulator Project
2 // Licensed under GPLv2+
3 // Refer to the license.txt file included.
4 
5 #pragma once
6 
7 #include <QObject>
8 
9 class WindowActivationEventFilter : public QObject
10 {
11   Q_OBJECT
12 public:
13   using QObject::QObject;
14 
15 signals:
16   void windowActivated();
17   void windowDeactivated();
18 
19 private:
20   bool eventFilter(QObject* object, QEvent* event) override;
21 };
22