]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/KeySymbol.h
UI improvement to math matrix dialog, suggested by magistere (#11888)
[lyx.git] / src / frontends / KeySymbol.h
index c60651f8ddb6dc7fedf6e06f626d7753f4de87fe..6f9b0645f1412f95d8ffd1e7030f2cd519c8a17b 100644 (file)
@@ -4,7 +4,7 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author Asger and Jürgen
+ * \author Asger and Jürgen
  *
  * Full author contact details are available in file CREDITS.
  */
@@ -12,9 +12,7 @@
 #ifndef KEYSYMBOL_H
 #define KEYSYMBOL_H
 
-#include <string>
-
-#include "key_state.h"
+#include "KeyModifier.h"
 
 #include "support/docstring.h"
 
@@ -58,7 +56,7 @@ public:
         * Use the native UI format when \c forgui is true.
         * i.e. (translated and with special characters for Mac OS X)
         */
-       docstring const print(key_modifier::state mod, bool forgui) const;
+       docstring const print(KeyModifier mod, bool forgui) const;
 
        ///
        int key() const { return key_; }