diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
commit | ffe8a83e053396df448e9413828527613ca3bd46 (patch) | |
tree | a73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /khtml/ecma/kjs_events.cpp | |
parent | 682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff) | |
download | tdelibs-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/ecma/kjs_events.cpp')
-rw-r--r-- | khtml/ecma/kjs_events.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/khtml/ecma/kjs_events.cpp b/khtml/ecma/kjs_events.cpp index 8ebda7193..1144e723b 100644 --- a/khtml/ecma/kjs_events.cpp +++ b/khtml/ecma/kjs_events.cpp @@ -102,8 +102,8 @@ void JSEventListener::handleEvent(DOM::Event &evt) exec->clearException(); else if (html) { - QVariant ret = ValueToVariant(exec, retval); - if (ret.type() == QVariant::Bool && ret.toBool() == false) + TQVariant ret = ValueToVariant(exec, retval); + if (ret.type() == TQVariant::Bool && ret.toBool() == false) evt.preventDefault(); } window->afterScriptExecution(); @@ -124,7 +124,7 @@ Object JSEventListener::listenerObj() const return listener; } -JSLazyEventListener::JSLazyEventListener(const QString &_code, const QString &_name, const Object &_win, DOM::NodeImpl* _originalNode) +JSLazyEventListener::JSLazyEventListener(const TQString &_code, const TQString &_name, const Object &_win, DOM::NodeImpl* _originalNode) : JSEventListener(Object(), 0, _win, true), code(_code), name(_name), parsed(false) @@ -211,7 +211,7 @@ void JSLazyEventListener::parseCode() const } // no more need to keep the unparsed code around - code = QString(); + code = TQString(); if (listener.isValid()) { static_cast<Window*>(win.imp())->jsEventListeners.insert(listener.imp(), |