diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-16 02:40:35 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-16 02:40:35 +0000 |
commit | bab40890696ec68c337dc290880423a0602b83c7 (patch) | |
tree | 6ba03f720b1fa88235ba339e7aedb4455430357e /khtml/html/html_inlineimpl.cpp | |
parent | f7e71d47719ab6094cf4a9fafffa5ea351973522 (diff) | |
download | tdelibs-bab40890696ec68c337dc290880423a0602b83c7.tar.gz tdelibs-bab40890696ec68c337dc290880423a0602b83c7.zip |
Finished remaining porting to new TQt API
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1214736 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'khtml/html/html_inlineimpl.cpp')
-rw-r--r-- | khtml/html/html_inlineimpl.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/khtml/html/html_inlineimpl.cpp b/khtml/html/html_inlineimpl.cpp index 600c23d59..9d30a5b4e 100644 --- a/khtml/html/html_inlineimpl.cpp +++ b/khtml/html/html_inlineimpl.cpp @@ -123,13 +123,13 @@ void HTMLAnchorElementImpl::defaultEventHandler(EventImpl *evt) if ( e ) { if ( e->ctrlKey() ) - state |= Qt::ControlButton; + state |= TQt::ControlButton; if ( e->shiftKey() ) - state |= Qt::ShiftButton; + state |= TQt::ShiftButton; if ( e->altKey() ) - state |= Qt::AltButton; + state |= TQt::AltButton; if ( e->metaKey() ) - state |= Qt::MetaButton; + state |= TQt::MetaButton; if ( e->button() == 0 ) button = Qt::LeftButton; @@ -140,12 +140,12 @@ void HTMLAnchorElementImpl::defaultEventHandler(EventImpl *evt) } else if ( k ) { - if ( k->checkModifier(Qt::ShiftButton) ) - state |= Qt::ShiftButton; - if ( k->checkModifier(Qt::AltButton) ) - state |= Qt::AltButton; - if ( k->checkModifier(Qt::ControlButton) ) - state |= Qt::ControlButton; + if ( k->checkModifier(TQt::ShiftButton) ) + state |= TQt::ShiftButton; + if ( k->checkModifier(TQt::AltButton) ) + state |= TQt::AltButton; + if ( k->checkModifier(TQt::ControlButton) ) + state |= TQt::ControlButton; } // ### also check if focused node is editable if not in designmode, |