summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativetextedit
diff options
context:
space:
mode:
authorAndrew den Exter <andrew.den-exter@nokia.com>2012-01-31 13:58:44 +1000
committerAndrew den Exter <andrew.den-exter@nokia.com>2012-01-31 06:34:44 +0100
commitf973bb1730e1138f9c745d142c1f2f5d9c53b456 (patch)
treec04bc36a5ae8fddf29e6fe37f55e3ec2af59de3f /tests/auto/declarative/qdeclarativetextedit
parentdbf35e498db723ae9850686e462ec4f45bc7b67c (diff)
Fix compile failures.
Remove uses of QLineControl, QTextControl and QBool and forward declared QGraphicsWidget. Change-Id: Ic5184a1d5aebfb1100ad0e24444b6773f4e617e8 Reviewed-by: Matthew Vogt <matthew.vogt@nokia.com>
Diffstat (limited to 'tests/auto/declarative/qdeclarativetextedit')
-rw-r--r--tests/auto/declarative/qdeclarativetextedit/tst_qdeclarativetextedit.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/declarative/qdeclarativetextedit/tst_qdeclarativetextedit.cpp b/tests/auto/declarative/qdeclarativetextedit/tst_qdeclarativetextedit.cpp
index c165e624..5ddabc05 100644
--- a/tests/auto/declarative/qdeclarativetextedit/tst_qdeclarativetextedit.cpp
+++ b/tests/auto/declarative/qdeclarativetextedit/tst_qdeclarativetextedit.cpp
@@ -58,7 +58,7 @@
#include <QMimeData>
#include <private/qapplication_p.h>
#include <private/qinputpanel_p.h>
-#include <private/qtextcontrol_p.h>
+#include <private/qwidgettextcontrol_p.h>
#include "../shared/platforminputcontext.h"
#ifdef Q_OS_SYMBIAN
@@ -2022,7 +2022,7 @@ void tst_qdeclarativetextedit::canPaste() {
QVERIFY(textEdit != 0);
// check initial value - QTBUG-17765
- QTextControl tc;
+ QWidgetTextControl tc;
QCOMPARE(textEdit->canPaste(), tc.canPaste());
#endif
@@ -2040,7 +2040,7 @@ void tst_qdeclarativetextedit::canPasteEmpty() {
QVERIFY(textEdit != 0);
// check initial value - QTBUG-17765
- QTextControl tc;
+ QWidgetTextControl tc;
QCOMPARE(textEdit->canPaste(), tc.canPaste());
#endif