summaryrefslogtreecommitdiff
path: root/inputmethods/multikey/keyboard.h
authorhash <hash>2002-08-15 19:46:43 (UTC)
committer hash <hash>2002-08-15 19:46:43 (UTC)
commit3e328409c2829dff590d0087518938851aff8bcc (patch) (side-by-side diff)
tree0a0f9fe70fdd78ffd00702b73782f41ffbc56cd7 /inputmethods/multikey/keyboard.h
parentd9cc9bedf72e921f8f7d8edeb189db127c5651e3 (diff)
downloadopie-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.h1
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
@@ -46,24 +46,25 @@ public:
: PickboardPicks(parent, name, f) { }
void initialise();
virtual QSize sizeHint() const;
KeyboardConfig *dc;
};
class Keys {
public:
Keys();
Keys(const char * filename);
+ ~Keys();
ushort uni(const int row, const int col);
int qcode(const int row, const int col);
int width(const int row, const int col);
bool pressed(const int row, const int col);
bool *pressedPtr(const int row, const int col);
ushort shift(const ushort);
QPixmap *pix(const int row, const int col);
int numKeys(const int row);
void setKeysFromFile(const char *filename);
void setKey(const int row, const int qcode, const ushort unicode,
const int width, QPixmap *pix);
void setPressed(const int row, const int col, const bool pressed);