diff options
author | Jarek Kobus <jaroslaw.kobus@qt.io> | 2022-05-24 13:45:35 +0200 |
---|---|---|
committer | Jarek Kobus <jaroslaw.kobus@qt.io> | 2022-05-25 07:40:47 +0000 |
commit | f3957d383fbe2599637933486f8566596dc8b737 (patch) | |
tree | 7b9bd5872c8876583335e32d35d58f347704667f /src/libs/utils/textfieldcombobox.h | |
parent | d76eab7d2f1f43b97cfe1bbb6eaaf8734c5cb1c9 (diff) |
Utils: More forward declarations / drop unused headers [T-Z]
Round 1 - focus on headers.
For classes with initial in range [T-Z].
Replace QT_FORWARD_DECLARE_CLASS with QT_BEGIN_NAMESPACE and
QT_END_NAMESPACE and forward declare inside.
Change-Id: I4ac3a8391e6167aa2db3973a9f94a45ac3c8ebd1
Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/libs/utils/textfieldcombobox.h')
-rw-r--r-- | src/libs/utils/textfieldcombobox.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libs/utils/textfieldcombobox.h b/src/libs/utils/textfieldcombobox.h index a10906bcbc9..119ccfa6d3b 100644 --- a/src/libs/utils/textfieldcombobox.h +++ b/src/libs/utils/textfieldcombobox.h @@ -32,9 +32,11 @@ namespace Utils { // Documentation inside. -class QTCREATOR_UTILS_EXPORT TextFieldComboBox : public QComboBox { +class QTCREATOR_UTILS_EXPORT TextFieldComboBox : public QComboBox +{ Q_PROPERTY(QString indexText READ text WRITE setText) Q_OBJECT + public: explicit TextFieldComboBox(QWidget *parent = nullptr); |