diff --git a/autotests/integration/globalshortcuts_test.cpp b/autotests/integration/globalshortcuts_test.cpp index 6c70320b31..fc400df1c8 100644 --- a/autotests/integration/globalshortcuts_test.cpp +++ b/autotests/integration/globalshortcuts_test.cpp @@ -23,8 +23,10 @@ #include #include -#include +#include + +#include #include #include diff --git a/autotests/integration/lockscreen.cpp b/autotests/integration/lockscreen.cpp index d03ebcc9ee..7b4a2be107 100644 --- a/autotests/integration/lockscreen.cpp +++ b/autotests/integration/lockscreen.cpp @@ -36,6 +36,8 @@ #include +#include + #include Q_DECLARE_METATYPE(Qt::Orientation) diff --git a/autotests/integration/no_global_shortcuts_test.cpp b/autotests/integration/no_global_shortcuts_test.cpp index 2d35f8a421..e3f36fa990 100644 --- a/autotests/integration/no_global_shortcuts_test.cpp +++ b/autotests/integration/no_global_shortcuts_test.cpp @@ -19,6 +19,7 @@ #include #include +#include #include #include diff --git a/autotests/integration/screenedges_test.cpp b/autotests/integration/screenedges_test.cpp index e3c7472040..a180dc79e0 100644 --- a/autotests/integration/screenedges_test.cpp +++ b/autotests/integration/screenedges_test.cpp @@ -22,6 +22,8 @@ #include #include +#include + Q_DECLARE_METATYPE(KWin::ElectricBorder) namespace KWin diff --git a/autotests/integration/touch_input_test.cpp b/autotests/integration/touch_input_test.cpp index 87b3c90ef2..834332f897 100644 --- a/autotests/integration/touch_input_test.cpp +++ b/autotests/integration/touch_input_test.cpp @@ -22,6 +22,8 @@ #include #include +#include + namespace KWin { diff --git a/src/input.cpp b/src/input.cpp index 973e276209..771a4164be 100644 --- a/src/input.cpp +++ b/src/input.cpp @@ -61,6 +61,7 @@ #include #endif // Qt +#include #include #include #include diff --git a/src/input.h b/src/input.h index 735eecb681..4aa68d6352 100644 --- a/src/input.h +++ b/src/input.h @@ -12,7 +12,6 @@ #define KWIN_INPUT_H #include -#include #include #include #include @@ -25,6 +24,7 @@ #include class KGlobalAccelInterface; +class QAction; class QKeySequence; class QMouseEvent; class QKeyEvent; diff --git a/src/plugins/buttonrebinds/buttonrebindsfilter.h b/src/plugins/buttonrebinds/buttonrebindsfilter.h index 5903ae491d..ba95735b18 100644 --- a/src/plugins/buttonrebinds/buttonrebindsfilter.h +++ b/src/plugins/buttonrebinds/buttonrebindsfilter.h @@ -11,6 +11,8 @@ #include "core/inputdevice.h" #include "input.h" +#include + class InputDevice : public KWin::InputDevice { QString sysName() const override;