From bab40890696ec68c337dc290880423a0602b83c7 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sun, 16 Jan 2011 02:40:35 +0000 Subject: 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 --- khtml/html/html_inlineimpl.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'khtml/html/html_inlineimpl.cpp') 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, -- cgit v1.2.3