summaryrefslogtreecommitdiffstats
path: root/khtml/dom/dom2_events.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /khtml/dom/dom2_events.cpp
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz
tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'khtml/dom/dom2_events.cpp')
-rw-r--r--khtml/dom/dom2_events.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/khtml/dom/dom2_events.cpp b/khtml/dom/dom2_events.cpp
index 9da1d8a73..898a73bc3 100644
--- a/khtml/dom/dom2_events.cpp
+++ b/khtml/dom/dom2_events.cpp
@@ -542,9 +542,9 @@ void TextEvent::initTextEvent(const DOMString &typeArg,
if (impl->isTextInputEvent()) {
//Initialize based on the outputStringArg or virtKeyValArg.
- QString text = outputStringArg.string();
+ TQString text = outputStringArg.string();
if (outputStringArg.length() == 0 && virtKeyValArg) {
- text += QChar((unsigned short)virtKeyValArg);
+ text += TQChar((unsigned short)virtKeyValArg);
}
TextEventImpl* tImpl = static_cast<TextEventImpl*>(impl);
@@ -575,7 +575,7 @@ DOMString TextEvent::outputString() const
return static_cast<TextEventImpl*>(ke)->data();
else {
if (ke->keyVal())
- return QString(QChar((ushort)ke->keyVal()));
+ return TQString(TQChar((ushort)ke->keyVal()));
else
return DOMString();
}