4 * Copyright 2002 the LyX Team
5 * Read the file COPYING
7 * \author Asger and Juergen
8 * \author John Levon <moz@compsoc.man.ac.uk>
19 #include "frontends/LyXKeySym.h"
24 * Qt-specific key press.
26 class QLyXKeySym : public LyXKeySym {
30 void set(int key, QString const & text);
32 virtual void init(string const & symbolname);
34 virtual ~QLyXKeySym() {}
36 /// Is this a valid key?
37 virtual bool isOK() const;
39 /// Is this a modifier key only?
40 virtual bool isModifier() const;
42 virtual string getSymbolName() const;
45 * Return the value of the keysym into the local ISO encoding.
46 * This converts the LyXKeySym to a 8-bit encoded character.
47 * This relies on user to use the right encoding.
49 virtual char getISOEncoded() const;
51 virtual bool operator==(LyXKeySym const & k) const;
58 #endif // QLYXKEYSYM_H