From d70e7cf27a4e0f9a5e94c89ddf22d7764dd5ca04 Mon Sep 17 00:00:00 2001 From: Rym Bouabid Date: Thu, 21 Sep 2023 12:47:47 +0200 Subject: [PATCH] Revamp Bindable Subscription ex: Fix includes Reorder the includes following the coding conventions. Remove unneeded includes. Add needed includes to avoid Transitive includes. Task-number: QTBUG-117422 Pick-to: 6.5 Change-Id: Iaf2b939bc160312de8aa4035da03b648cf76f17d Reviewed-by: Ivan Solovev (cherry picked from commit a69be76a303ad99d16355f5edd5fbbec1b10106c) Reviewed-by: Qt Cherry-pick Bot --- .../bindablesubscription/bindablesubscription.h | 2 +- .../bindableproperties/bindablesubscription/bindableuser.h | 1 + .../bindableproperties/bindablesubscription/main.cpp | 6 ++---- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/examples/corelib/bindableproperties/bindablesubscription/bindablesubscription.h b/examples/corelib/bindableproperties/bindablesubscription/bindablesubscription.h index 3406693b94c..03870d06176 100644 --- a/examples/corelib/bindableproperties/bindablesubscription/bindablesubscription.h +++ b/examples/corelib/bindableproperties/bindablesubscription/bindablesubscription.h @@ -4,7 +4,7 @@ #ifndef BINDABLESUBSCRIPTION_H #define BINDABLESUBSCRIPTION_H -#include +#include #include class BindableUser; diff --git a/examples/corelib/bindableproperties/bindablesubscription/bindableuser.h b/examples/corelib/bindableproperties/bindablesubscription/bindableuser.h index d172a7cb223..6bb9bcdcb5e 100644 --- a/examples/corelib/bindableproperties/bindablesubscription/bindableuser.h +++ b/examples/corelib/bindableproperties/bindablesubscription/bindableuser.h @@ -4,6 +4,7 @@ #ifndef BINDABLEUSER_H #define BINDABLEUSER_H +#include #include #include diff --git a/examples/corelib/bindableproperties/bindablesubscription/main.cpp b/examples/corelib/bindableproperties/bindablesubscription/main.cpp index dd4e26fb740..86c222a6ab3 100644 --- a/examples/corelib/bindableproperties/bindablesubscription/main.cpp +++ b/examples/corelib/bindableproperties/bindablesubscription/main.cpp @@ -6,15 +6,13 @@ #include "bindableuser.h" #include -#include +#include #include +#include #include #include #include -#include #include -#include -#include int main(int argc, char *argv[]) {