summaryrefslogtreecommitdiffstats
path: root/src/numpadvbutton.h
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2021-02-20 18:41:31 +0900
committerMichele Calgaro <[email protected]>2021-02-20 18:42:25 +0900
commitcf258cdbd6132a549d87abbd285e5aa663130d72 (patch)
tree9b8fc9fa9cb3c70ae1b5c65480fe5b6330c95ecc /src/numpadvbutton.h
parent543ee0948ccb0138453a99bff403c780b974a79f (diff)
downloadkvkbd-cf258cdbd6132a549d87abbd285e5aa663130d72.tar.gz
kvkbd-cf258cdbd6132a549d87abbd285e5aa663130d72.zip
Simplified code for numpad buttons. This adds on to PR #9.
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 47d89f2d15ad750689d6376234b37b85e1ab5704)
Diffstat (limited to 'src/numpadvbutton.h')
-rw-r--r--src/numpadvbutton.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/numpadvbutton.h b/src/numpadvbutton.h
index 53bcddf..fc8a026 100644
--- a/src/numpadvbutton.h
+++ b/src/numpadvbutton.h
@@ -30,15 +30,10 @@ class NumpadVButton : public VButton
Q_OBJECT
public:
- NumpadVButton(TQWidget *parent = 0, const char *name = 0);
- ~NumpadVButton();
- void numlockPressed(bool press);
- void setKeyCode(unsigned int keycode, unsigned int n_keycode);
-
-private:
- unsigned int numlock_code;
- unsigned int cursor_code;
+ NumpadVButton(TQWidget *parent = 0, const char *name = 0);
+ ~NumpadVButton();
+ void numlockPressed(bool press);
};
#endif