From 24c7dfc67f44e1ee4d77310f2a469c780184e84d Mon Sep 17 00:00:00 2001 From: "shijie.chen" Date: Tue, 19 Mar 2024 09:10:53 +0800 Subject: [PATCH] [dev] Clean up unnecessary include --- qt5/dbusaddons/fcitxqtdbustypes.h | 2 -- qt5/dbusaddons/fcitxqtinputcontextproxy.cpp | 6 ------ qt5/dbusaddons/fcitxqtinputcontextproxy.h | 4 ---- qt5/dbusaddons/fcitxqtwatcher.cpp | 2 -- qt5/platforminputcontext/fcitx4watcher.h | 1 - 5 files changed, 15 deletions(-) diff --git a/qt5/dbusaddons/fcitxqtdbustypes.h b/qt5/dbusaddons/fcitxqtdbustypes.h index 1024b91..c88b3a9 100644 --- a/qt5/dbusaddons/fcitxqtdbustypes.h +++ b/qt5/dbusaddons/fcitxqtdbustypes.h @@ -11,8 +11,6 @@ #include "fcitx5qt5dbusaddons_export.h" #include -#include -#include #include namespace fcitx { diff --git a/qt5/dbusaddons/fcitxqtinputcontextproxy.cpp b/qt5/dbusaddons/fcitxqtinputcontextproxy.cpp index 3cb2843..876f3e9 100644 --- a/qt5/dbusaddons/fcitxqtinputcontextproxy.cpp +++ b/qt5/dbusaddons/fcitxqtinputcontextproxy.cpp @@ -6,12 +6,6 @@ */ #include "fcitxqtinputcontextproxy_p.h" -#include -#include -#include -#include -#include -#include namespace fcitx { diff --git a/qt5/dbusaddons/fcitxqtinputcontextproxy.h b/qt5/dbusaddons/fcitxqtinputcontextproxy.h index 4488a6c..b0b9c4a 100644 --- a/qt5/dbusaddons/fcitxqtinputcontextproxy.h +++ b/qt5/dbusaddons/fcitxqtinputcontextproxy.h @@ -10,12 +10,8 @@ #include "fcitx5qt5dbusaddons_export.h" #include "fcitxqtdbustypes.h" -#include #include -#include -#include -class QDBusPendingCallWatcher; namespace fcitx { diff --git a/qt5/dbusaddons/fcitxqtwatcher.cpp b/qt5/dbusaddons/fcitxqtwatcher.cpp index 1084668..60bc170 100644 --- a/qt5/dbusaddons/fcitxqtwatcher.cpp +++ b/qt5/dbusaddons/fcitxqtwatcher.cpp @@ -6,9 +6,7 @@ */ #include "fcitxqtwatcher_p.h" -#include #include -#include namespace fcitx { diff --git a/qt5/platforminputcontext/fcitx4watcher.h b/qt5/platforminputcontext/fcitx4watcher.h index 2ff9885..8d39d5d 100644 --- a/qt5/platforminputcontext/fcitx4watcher.h +++ b/qt5/platforminputcontext/fcitx4watcher.h @@ -11,7 +11,6 @@ #include #include -class QDBusConnection; class QFileSystemWatcher; class QDBusServiceWatcher;