mirror of
https://bitbucket.org/smil3y/kde-extraapps.git
synced 2025-02-24 02:42:52 +00:00
kdeplasma-addons: update plasma keyboard applet keys map
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
bd6de49585
commit
8a47b057ce
1 changed files with 4 additions and 3 deletions
|
@ -204,12 +204,12 @@ QChar mapToUnicode(const unsigned int &keysym)
|
|||
* # Take only values that have a Unicode equivalent
|
||||
* grep "/\* U+" | \
|
||||
* # Extract the codes (in parentheses)
|
||||
* sed -r "s/^.*0x(\w*)\s.*U\+(\w+)\s.*$/map[0x\1] = QChar( 0x\2 );/" | \
|
||||
* sed -r "s/^.*0x(\w*)\s.*U\+(\w+)\s.*$/ map[0x\1] = QChar(0x\2);/" | \
|
||||
* # Remove all codes starting with 0x00 (less than 0x100)
|
||||
* # or with 0x100 (larger than 0x1000100)
|
||||
* grep -v -E "^map\[0x1?00" | \
|
||||
* grep -v -E "^ map\[0x1?00" | \
|
||||
* # Put some order to ease manual lookup
|
||||
* sort
|
||||
* sort
|
||||
*/
|
||||
void initialiseMap(QHash<unsigned int, QChar>& map)
|
||||
{
|
||||
|
@ -701,6 +701,7 @@ void initialiseMap(QHash<unsigned int, QChar>& map)
|
|||
map[0x0ad2] = QChar(0x201C);
|
||||
map[0x0ad3] = QChar(0x201D);
|
||||
map[0x0ad4] = QChar(0x211E);
|
||||
map[0x0ad5] = QChar(0x2030);
|
||||
map[0x0ad6] = QChar(0x2032);
|
||||
map[0x0ad7] = QChar(0x2033);
|
||||
map[0x0ad9] = QChar(0x271D);
|
||||
|
|
Loading…
Add table
Reference in a new issue