summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRym Bouabid <[email protected]>2023-09-21 12:47:47 +0200
committerRym Bouabid <[email protected]>2023-09-22 21:02:45 +0200
commita69be76a303ad99d16355f5edd5fbbec1b10106c (patch)
tree8fe53fb174246548d1e46c2b11d6a393e4b2ad6f
parent24e504d9df16537f8a3f7d69a917ddb43b6e82d3 (diff)
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.6 6.5 Change-Id: Iaf2b939bc160312de8aa4035da03b648cf76f17d Reviewed-by: Ivan Solovev <[email protected]>
-rw-r--r--examples/corelib/bindableproperties/bindablesubscription/bindablesubscription.h2
-rw-r--r--examples/corelib/bindableproperties/bindablesubscription/bindableuser.h1
-rw-r--r--examples/corelib/bindableproperties/bindablesubscription/main.cpp6
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 <QPointer>
+#include <QBindable>
#include <QProperty>
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 <QBindable>
#include <QLocale>
#include <QProperty>
diff --git a/examples/corelib/bindableproperties/bindablesubscription/main.cpp b/examples/corelib/bindableproperties/bindablesubscription/main.cpp
index 0eb8c1a76e0..85d323a64e0 100644
--- a/examples/corelib/bindableproperties/bindablesubscription/main.cpp
+++ b/examples/corelib/bindableproperties/bindablesubscription/main.cpp
@@ -6,15 +6,13 @@
#include "bindableuser.h"
#include <QApplication>
-#include <QButtonGroup>
+#include <QBindable>
#include <QLabel>
+#include <QLocale>
#include <QPushButton>
#include <QRadioButton>
#include <QSpinBox>
-#include <QProperty>
#include <QString>
-#include <QDateTimeEdit>
-#include <QBindable>
int main(int argc, char *argv[])
{