From kde-devel Sun Jan 28 05:53:17 2007 From: Paulo Moura Guedes Date: Sun, 28 Jan 2007 05:53:17 +0000 To: kde-devel Subject: KKey Message-Id: <200701280553.17963.moura () kdewebdev ! org> X-MARC-Message: https://marc.info/?l=kde-devel&m=116996362704682 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 <<