Dne st 9. kv=ECten 2001 22:24 Ellis Whitehead napsal(a): > Following up on my post about a new keyboard schema: > > A couple people said that the META isn't supported in Qt2.x. Withfour > lines of code (2 to qapplication_x11.cpp and 2 to qnamespace.h) and a > little test app, and as far as i can tell, it works fine. > > If anyone know of hidden problems here, please let me know. I'm going = to > start checking out how to integrate this into KGlobalAccel and family..= =2E > (any pointers here could be useful too ) > > Thanks! > Ellis > [snip] Well, I did something similar for KHotKeys-1.0.4 for KDE1.x and Qt1.x . = And=20 if I remember correctly, code using only 3 modifiers didn't mix well with= my=20 4mods code ( I even had keyboard lockups ). I ended up using my own=20 KGlobalAccel version only. You can probably make it better, I don't remem= ber=20 what exactly were the problems. If you're still interested in doing the change, have look at=20 http://dforce.sh.cvut.cz/~seli/en/khotkeys , it contains modified version= s of=20 kglobalaccel.* and kkeydialog.* , so you might diff them against standard= =20 KDE1.1.2, the differences made should be similar in KDE2/Qt2. The basic r= ule=20 is simply searching for code refering to the shift/ctrl/alt modifiers and= =20 adding another one. I'd be even interested in your changes, even if that= =20 would mean not being compatible with original KDE/Qt . Lubos Lunak -- l.lunak@email.cz ; l.lunak@kde.org http://dforce.sh.cvut.cz/~seli >> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<