summaryrefslogtreecommitdiffstats
path: root/tests/auto/qplaintextedit/tst_qplaintextedit.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@nokia.com>2011-06-27 14:21:13 +0200
committerLars Knoll <lars.knoll@nokia.com>2011-06-27 14:21:13 +0200
commit0584424d5ccc7d1e3b9aa60da46ca1db244ce470 (patch)
treed37134426763ee8d08114c992e91ba04729a6a33 /tests/auto/qplaintextedit/tst_qplaintextedit.cpp
parent18a3f6169bb8a763366003d92b8013950578c79f (diff)
Fix compilation
Fix compilation in the autotests due to the renaming of QTextControl to QWidgetTextControl. Change-Id: I4820be826f1305540d4d83335b20b66a1c839fb2
Diffstat (limited to 'tests/auto/qplaintextedit/tst_qplaintextedit.cpp')
-rw-r--r--tests/auto/qplaintextedit/tst_qplaintextedit.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qplaintextedit/tst_qplaintextedit.cpp b/tests/auto/qplaintextedit/tst_qplaintextedit.cpp
index 0802f51752..8a423dc933 100644
--- a/tests/auto/qplaintextedit/tst_qplaintextedit.cpp
+++ b/tests/auto/qplaintextedit/tst_qplaintextedit.cpp
@@ -50,7 +50,7 @@
#include <qapplication.h>
#include <qclipboard.h>
#include <qtextbrowser.h>
-#include <private/qtextcontrol_p.h>
+#include <private/qwidgettextcontrol_p.h>
#include <qscrollbar.h>
#include <qtextobject.h>
@@ -1136,7 +1136,7 @@ void tst_QPlainTextEdit::mimeDataReimplementations()
QCOMPARE(ed.insertCallCount, 0);
#ifdef QT_BUILD_INTERNAL
- QTextControl *control = qFindChild<QTextControl *>(&ed);
+ QWidgetTextControl *control = qFindChild<QWidgetTextControl *>(&ed);
QVERIFY(control);
control->canInsertFromMimeData(QApplication::clipboard()->mimeData());