summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets/qplaintextedit.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/qplaintextedit.h')
-rw-r--r--src/gui/widgets/qplaintextedit.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/qplaintextedit.h b/src/gui/widgets/qplaintextedit.h
index 35bbc37..767bb69 100644
--- a/src/gui/widgets/qplaintextedit.h
+++ b/src/gui/widgets/qplaintextedit.h
@@ -69,7 +69,7 @@ class QMimeData;
class Q_GUI_EXPORT QPlainTextEdit : public QAbstractScrollArea
{
Q_OBJECT
- Q_DECLARE_PRIVATE(QPlainTextEdit)
+ Q_DECLARE_SCOPED_PRIVATE(QPlainTextEdit)
Q_ENUMS(LineWrapMode)
Q_PROPERTY(bool tabChangesFocus READ tabChangesFocus WRITE setTabChangesFocus)
Q_PROPERTY(QString documentTitle READ documentTitle WRITE setDocumentTitle)
@@ -278,7 +278,7 @@ class QPlainTextDocumentLayoutPrivate;
class Q_GUI_EXPORT QPlainTextDocumentLayout : public QAbstractTextDocumentLayout
{
Q_OBJECT
- Q_DECLARE_PRIVATE(QPlainTextDocumentLayout)
+ Q_DECLARE_SCOPED_PRIVATE(QPlainTextDocumentLayout)
Q_PROPERTY(int cursorWidth READ cursorWidth WRITE setCursorWidth)
public: