* \author Asger and Juergen
* \author John Levon
*
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
*/
#ifndef QLYXKEYSYM_H
#define QLYXKEYSYM_H
-#ifdef __GNUG__
-#pragma interface
-#endif
-#include "LString.h"
+#include "support/std_string.h"
#include "frontends/LyXKeySym.h"
#include <qstring.h>
/// return the LyX symbolic name
virtual string getSymbolName() const;
+ /// Is this normal insertable text ? (last ditch attempt only)
+ virtual bool isText() const;
+
/**
* Return the value of the keysym into the local ISO encoding.
* This converts the LyXKeySym to a 8-bit encoded character.
* This relies on user to use the right encoding.
*/
- virtual char getISOEncoded() const;
-
- virtual bool operator==(LyXKeySym const & k) const;
-
+ virtual char getISOEncoded(string const & encoding) const;
+ ///
+ int key() const {
+ return key_;
+ }
private:
/// the Qt sym value
int key_;