diff --git a/compositingprefs.cpp b/compositingprefs.cpp index 228fca5a00..b675872faf 100644 --- a/compositingprefs.cpp +++ b/compositingprefs.cpp @@ -26,7 +26,6 @@ along with this program. If not, see . #include #include -#include #include #include diff --git a/cursor.cpp b/cursor.cpp index efe016c6db..4e3138b4bf 100644 --- a/cursor.cpp +++ b/cursor.cpp @@ -25,8 +25,9 @@ along with this program. If not, see . #include "main.h" #include "utils.h" // KDE -#include -#include +#include +#include +#include // Qt #include // Xlib diff --git a/kcmkwin/kwindecoration/decorationmodel.cpp b/kcmkwin/kwindecoration/decorationmodel.cpp index c196e3efd7..bb64b46a6b 100644 --- a/kcmkwin/kwindecoration/decorationmodel.cpp +++ b/kcmkwin/kwindecoration/decorationmodel.cpp @@ -29,7 +29,6 @@ along with this program. If not, see . // KDE #include #include -#include #include #include #include diff --git a/kcmkwin/kwinrules/ruleslist.cpp b/kcmkwin/kwinrules/ruleslist.cpp index 0353c66da1..4c85f3d506 100644 --- a/kcmkwin/kwinrules/ruleslist.cpp +++ b/kcmkwin/kwinrules/ruleslist.cpp @@ -18,8 +18,6 @@ #include "ruleslist.h" -#include -#include #include #include #include diff --git a/kcmkwin/kwinrules/ruleswidget.cpp b/kcmkwin/kwinrules/ruleswidget.cpp index a1c5c49973..179a159c95 100644 --- a/kcmkwin/kwinrules/ruleswidget.cpp +++ b/kcmkwin/kwinrules/ruleswidget.cpp @@ -19,11 +19,9 @@ #include "ruleswidget.h" #include -#include #include #include #include -#include #include #include #include diff --git a/kcmkwin/kwintabbox/main.cpp b/kcmkwin/kwintabbox/main.cpp index 71343656c7..8e4d159f5f 100644 --- a/kcmkwin/kwintabbox/main.cpp +++ b/kcmkwin/kwintabbox/main.cpp @@ -35,7 +35,6 @@ along with this program. If not, see . #include #include #include -#include #include #include #include diff --git a/killer/killer.cpp b/killer/killer.cpp index 5f36cf87af..9165b387a4 100644 --- a/killer/killer.cpp +++ b/killer/killer.cpp @@ -24,7 +24,7 @@ DEALINGS IN THE SOFTWARE. #include #include -#include +#include #include #include #include diff --git a/libkdecorations/kdecoration_plugins_p.cpp b/libkdecorations/kdecoration_plugins_p.cpp index e44e441e4c..d08aebcbb9 100644 --- a/libkdecorations/kdecoration_plugins_p.cpp +++ b/libkdecorations/kdecoration_plugins_p.cpp @@ -27,7 +27,6 @@ DEALINGS IN THE SOFTWARE. #include "kdecoration_plugins_p.h" #include -#include #include #include #include diff --git a/libkwineffects/kwinxrenderutils.h b/libkwineffects/kwinxrenderutils.h index c57b6fc127..e1334de407 100644 --- a/libkwineffects/kwinxrenderutils.h +++ b/libkwineffects/kwinxrenderutils.h @@ -24,9 +24,8 @@ along with this program. If not, see . // KWin #include #include -// KDE -#include // Qt +#include #include #include // XCB @@ -74,7 +73,7 @@ public: operator xcb_render_picture_t(); private: void fromImage(const QImage &img); - KSharedPtr< XRenderPictureData > d; + QExplicitlySharedDataPointer< XRenderPictureData > d; }; class KWINEFFECTS_EXPORT XFixesRegion