then its a matter of string manipulation..
since you can transfer your sequence to Qstring
QString QKeySequence::toString ( SequenceFormat format = PortableText )
and you know that it will be seperated by + sign and , (comma)
http://doc.trolltech.com/4.4/qkeysequence.html#toString
try playing with it like
QStringList keys= strsequence.split(",") or QStringList keys= strsequence.split("+") ;
do this by conditions
http://doc.trolltech.com/4.4/qstring.html#split
the keys then will be listed to QStringList
or if you know that their will be only 1 combination like CTR+ALT+A
you can use key= strsequence.right(strsequence.lastIndexOf("+"));
and many more solutions just play with it..
http://doc.trolltech.com/4.4/qstring.html#QString
Bookmarks