]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/QLyXKeySym.h
enable Font cache only for MacOSX and inline width() for other platform.
[lyx.git] / src / frontends / qt4 / QLyXKeySym.h
index c9dcb9dfd9c849ffcd30d86cf98507b53249c8e5..61339cdcab71dc114bb61549f74e343ce127b86d 100644 (file)
@@ -50,11 +50,10 @@ public:
        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.
+        * Return the value of the keysym into the UCS-4 encoding.
+        * This converts the LyXKeySym to a 32-bit encoded character.
         */
-       virtual char getISOEncoded(std::string const & encoding) const;
+       virtual size_t getUCSEncoded() const;
 
        /// Return a human-readable version of a key+modifier pair.
        virtual std::string const print(key_modifier::state mod) const;