summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel
diff options
context:
space:
mode:
authoraxis <qt-info@nokia.com>2010-08-31 11:15:28 (GMT)
committeraxis <qt-info@nokia.com>2010-09-01 13:03:55 (GMT)
commit52cf47565e402dc682038ccaf8d725401802b603 (patch)
tree67b2484045c9f55893dd05d1bb794925b9cc20a3 /src/gui/kernel
parentc5901037f0d3ccd45b0c79b38ef5b04552dad0aa (diff)
downloadQt-52cf47565e402dc682038ccaf8d725401802b603.zip
Qt-52cf47565e402dc682038ccaf8d725401802b603.tar.gz
Qt-52cf47565e402dc682038ccaf8d725401802b603.tar.bz2
Cleaned up position tracking in the Symbian input methods.
This fixed a case where using password mode would lead to Qt believing that the cursor was one step to the left of where it really was. This would have the effect of replacing the last character instead of appending to it, and even crashing if the cursor was all the way to the left. The code is also much cleaner this way, but it meant that QTBUG-9867 had to be solved differently this time. We do this by assuming that and empty FEP update means "erase last character", which seems to work well in practice. Also added a long overdue autotest for the FEP input methods. Most tests pass, but some don't, which I will try to fix later. Task: QTBUG-9867 Task: QTBUG-12949 RevBy: Miikka Heikkinen AutoTest: Included
Diffstat (limited to 'src/gui/kernel')
-rw-r--r--src/gui/kernel/qt_s60_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/kernel/qt_s60_p.h b/src/gui/kernel/qt_s60_p.h
index ad6a99a..4b60842 100644
--- a/src/gui/kernel/qt_s60_p.h
+++ b/src/gui/kernel/qt_s60_p.h
@@ -87,7 +87,7 @@ const TInt KInternalStatusPaneChange = 0x50000000;
//this macro exists because EColor16MAP enum value doesn't exist in Symbian OS 9.2
#define Q_SYMBIAN_ECOLOR16MAP TDisplayMode(13)
-class QS60ThreadLocalData
+class Q_AUTOTEST_EXPORT QS60ThreadLocalData
{
public:
QS60ThreadLocalData();
@@ -171,7 +171,7 @@ public:
#endif
};
-QS60Data* qGlobalS60Data();
+Q_AUTOTEST_EXPORT QS60Data* qGlobalS60Data();
#define S60 qGlobalS60Data()
class QAbstractLongTapObserver