diff options
author | Michele Calgaro <[email protected]> | 2021-03-25 10:01:12 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2021-03-26 13:18:54 +0900 |
commit | 85af0341dc94a5a65d3643f53d95c21d40017c1c (patch) | |
tree | 362b74dd24ca92b77265d8ff6c6a85c783258ce0 /src/VButton.h | |
parent | c4eebbfcf4a070aef2ee77726cc45d9eb62ee235 (diff) | |
download | kvkbd-85af0341dc94a5a65d3643f53d95c21d40017c1c.tar.gz kvkbd-85af0341dc94a5a65d3643f53d95c21d40017c1c.zip |
Added support for AltGr characters. This resolves issue #11.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/VButton.h')
-rw-r--r-- | src/VButton.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/VButton.h b/src/VButton.h index 782eefa..86a58ee 100644 --- a/src/VButton.h +++ b/src/VButton.h @@ -34,14 +34,16 @@ protected: TQString normalText; TQString capsText; TQString shiftText; + TQString altGrText; TQString capsShiftText; + TQString altGrShiftText; TQRect orig_size; void timerEvent ( TQTimerEvent * ); public slots: void sendKey(); - void shiftCapsPressed(bool shift, bool caps); + void shiftCapsAltGrPressed(bool shift, bool caps, bool altGrState); protected slots: void enterEvent(TQEvent *e); |