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 <ivan.solovev@qt.io>
(cherry picked from commit a69be76a303ad99d16355f5edd5fbbec1b10106c)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Rym Bouabid 2023-09-21 12:47:47 +02:00 committed by Qt Cherry-pick Bot
parent 9018d187ae
commit d70e7cf27a
3 changed files with 4 additions and 5 deletions

View File

@ -4,7 +4,7 @@
#ifndef BINDABLESUBSCRIPTION_H #ifndef BINDABLESUBSCRIPTION_H
#define BINDABLESUBSCRIPTION_H #define BINDABLESUBSCRIPTION_H
#include <QPointer> #include <QBindable>
#include <QProperty> #include <QProperty>
class BindableUser; class BindableUser;

View File

@ -4,6 +4,7 @@
#ifndef BINDABLEUSER_H #ifndef BINDABLEUSER_H
#define BINDABLEUSER_H #define BINDABLEUSER_H
#include <QBindable>
#include <QLocale> #include <QLocale>
#include <QProperty> #include <QProperty>

View File

@ -6,15 +6,13 @@
#include "bindableuser.h" #include "bindableuser.h"
#include <QApplication> #include <QApplication>
#include <QButtonGroup> #include <QBindable>
#include <QLabel> #include <QLabel>
#include <QLocale>
#include <QPushButton> #include <QPushButton>
#include <QRadioButton> #include <QRadioButton>
#include <QSpinBox> #include <QSpinBox>
#include <QProperty>
#include <QString> #include <QString>
#include <QDateTimeEdit>
#include <QBindable>
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {