diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2021-03-25 10:01:12 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2021-03-26 20:35:52 +0900 |
| commit | f2290a769bd9ee9bdde3a9c9a25d1fd27decaabc (patch) | |
| tree | 0b2024bb26617ca2c4339b5c1a9bd33ec4cbcb1e /src/VButton.h | |
| parent | 96fd31212c67029bb71e7a0f69ada626e11f2ee2 (diff) | |
| download | kvkbd-f2290a76.tar.gz kvkbd-f2290a76.zip | |
Added support for AltGr characters. This resolves issue #11.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 85af0341dc94a5a65d3643f53d95c21d40017c1c)
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); |
