aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/utils/detailsbutton.h
diff options
context:
space:
mode:
authorJarek Kobus <jaroslaw.kobus@qt.io>2022-05-24 13:45:35 +0200
committerJarek Kobus <jaroslaw.kobus@qt.io>2022-05-25 07:40:47 +0000
commitf3957d383fbe2599637933486f8566596dc8b737 (patch)
tree7b9bd5872c8876583335e32d35d58f347704667f /src/libs/utils/detailsbutton.h
parentd76eab7d2f1f43b97cfe1bbb6eaaf8734c5cb1c9 (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/detailsbutton.h')
-rw-r--r--src/libs/utils/detailsbutton.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libs/utils/detailsbutton.h b/src/libs/utils/detailsbutton.h
index 3c7286e9ee..7270268813 100644
--- a/src/libs/utils/detailsbutton.h
+++ b/src/libs/utils/detailsbutton.h
@@ -29,7 +29,9 @@
#include <QAbstractButton>
-QT_FORWARD_DECLARE_CLASS(QGraphicsOpacityEffect)
+QT_BEGIN_NAMESPACE
+class QGraphicsOpacityEffect;
+QT_END_NAMESPACE
namespace Utils {
class QTCREATOR_UTILS_EXPORT FadingPanel : public QWidget