author | hash <hash> | 2002-08-15 19:46:43 (UTC) |
---|---|---|
committer | hash <hash> | 2002-08-15 19:46:43 (UTC) |
commit | 3e328409c2829dff590d0087518938851aff8bcc (patch) (unidiff) | |
tree | 0a0f9fe70fdd78ffd00702b73782f41ffbc56cd7 /inputmethods/multikey/keyboard.h | |
parent | d9cc9bedf72e921f8f7d8edeb189db127c5651e3 (diff) | |
download | opie-3e328409c2829dff590d0087518938851aff8bcc.zip opie-3e328409c2829dff590d0087518938851aff8bcc.tar.gz opie-3e328409c2829dff590d0087518938851aff8bcc.tar.bz2 |
think i fixed a memory leak problem... please test it out and see if the size of qpe increases if you load/unload keymaps
Diffstat (limited to 'inputmethods/multikey/keyboard.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | inputmethods/multikey/keyboard.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/inputmethods/multikey/keyboard.h b/inputmethods/multikey/keyboard.h index 8ca50ea..400edc0 100644 --- a/inputmethods/multikey/keyboard.h +++ b/inputmethods/multikey/keyboard.h | |||
@@ -50,16 +50,17 @@ public: | |||
50 | }; | 50 | }; |
51 | 51 | ||
52 | 52 | ||
53 | class Keys { | 53 | class Keys { |
54 | public: | 54 | public: |
55 | 55 | ||
56 | Keys(); | 56 | Keys(); |
57 | Keys(const char * filename); | 57 | Keys(const char * filename); |
58 | ~Keys(); | ||
58 | ushort uni(const int row, const int col); | 59 | ushort uni(const int row, const int col); |
59 | int qcode(const int row, const int col); | 60 | int qcode(const int row, const int col); |
60 | int width(const int row, const int col); | 61 | int width(const int row, const int col); |
61 | bool pressed(const int row, const int col); | 62 | bool pressed(const int row, const int col); |
62 | bool *pressedPtr(const int row, const int col); | 63 | bool *pressedPtr(const int row, const int col); |
63 | ushort shift(const ushort); | 64 | ushort shift(const ushort); |
64 | QPixmap *pix(const int row, const int col); | 65 | QPixmap *pix(const int row, const int col); |
65 | int numKeys(const int row); | 66 | int numKeys(const int row); |