summaryrefslogtreecommitdiffstats
path: root/src/widgets/widgets/qtextedit.h
diff options
context:
space:
mode:
authorStephan Binner <stephan.binner@basyskom.com>2017-09-03 18:44:21 +0200
committerStephan Binner <stephan.binner@basyskom.com>2017-09-19 10:57:08 +0000
commit9833e682174c968efb62e6cd473787e3b0b8fb05 (patch)
tree4604429ee5b99ff770edfabaf694e51e19622e08 /src/widgets/widgets/qtextedit.h
parent14e20bb4748b4b11763e4a44d19ebf84b05348bc (diff)
Convert features.textedit to QT_[REQUIRE_]CONFIG
Change-Id: I0fb0e658796484f374586d8d1f0f1b9167ab30d2 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'src/widgets/widgets/qtextedit.h')
-rw-r--r--src/widgets/widgets/qtextedit.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/widgets/widgets/qtextedit.h b/src/widgets/widgets/qtextedit.h
index 745b644511..ff52fde2ed 100644
--- a/src/widgets/widgets/qtextedit.h
+++ b/src/widgets/widgets/qtextedit.h
@@ -47,12 +47,10 @@
#include <QtGui/qtextcursor.h>
#include <QtGui/qtextformat.h>
-#ifndef QT_NO_TEXTEDIT
-
+QT_REQUIRE_CONFIG(textedit);
QT_BEGIN_NAMESPACE
-
class QStyleSheet;
class QTextDocument;
class QMenu;
@@ -321,6 +319,4 @@ Q_DECLARE_OPERATORS_FOR_FLAGS(QTextEdit::AutoFormatting)
QT_END_NAMESPACE
-#endif // QT_NO_TEXTEDIT
-
#endif // QTEXTEDIT_H