[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: KKey
From: Paulo Moura Guedes <moura () kdewebdev ! org>
Date: 2007-01-28 5:53:17
Message-ID: 200701280553.17963.moura () kdewebdev ! org
[Download RAW message or body]
Hi,
Suppose I have a KKey representing "ctrl + tab". The Qt code for that key is
4198401 (0x401001).
How can I know, given the key code (4198401), that the key is composed by the
ctrl modifier and the tab key? In other words, how can I isolate the key from
the modifier?
BTW, this is because QKeyEvent.key() returns the key without the modifier and
I have to compare it with the shortcut of an action (which is composed by one
key which includes the modifier).
Thanks
Paulo
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic