summaryrefslogtreecommitdiffstats
path: root/src/numpadvbutton.h
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2021-02-20 18:41:31 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2021-02-20 18:41:31 +0900
commit47d89f2d15ad750689d6376234b37b85e1ab5704 (patch)
tree43e581e1344487d0ad08aacf2188119407e9e2ca /src/numpadvbutton.h
parent8bbaa8f9fed784d11bda8ea90ef94bf47f92b90d (diff)
downloadkvkbd-47d89f2d15ad750689d6376234b37b85e1ab5704.tar.gz
kvkbd-47d89f2d15ad750689d6376234b37b85e1ab5704.zip
Simplified code for numpad buttons. This adds on to PR #9.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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