summaryrefslogtreecommitdiffstats
path: root/khtml/dom/dom2_events.cpp
diff options
context:
space:
mode:
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();
}