summaryrefslogtreecommitdiffstats
path: root/kdecore/kshortcut.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdecore/kshortcut.cpp')
-rw-r--r--kdecore/kshortcut.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kdecore/kshortcut.cpp b/kdecore/kshortcut.cpp
index 4847b8742..10c6c31fa 100644
--- a/kdecore/kshortcut.cpp
+++ b/kdecore/kshortcut.cpp
@@ -88,10 +88,10 @@ bool KKey::init( const TQKeySequence& key )
bool KKey::init( const TQKeyEvent* pEvent )
{
int keyQt = pEvent->key();
- if( pEvent->state() & Qt::ShiftButton ) keyQt |= Qt::SHIFT;
- if( pEvent->state() & Qt::ControlButton ) keyQt |= Qt::CTRL;
- if( pEvent->state() & Qt::AltButton ) keyQt |= Qt::ALT;
- if( pEvent->state() & Qt::MetaButton ) keyQt |= Qt::META;
+ if( pEvent->state() & TQt::ShiftButton ) keyQt |= Qt::SHIFT;
+ if( pEvent->state() & TQt::ControlButton ) keyQt |= Qt::CTRL;
+ if( pEvent->state() & TQt::AltButton ) keyQt |= Qt::ALT;
+ if( pEvent->state() & TQt::MetaButton ) keyQt |= Qt::META;
return init( keyQt );
}