]> git.lyx.org Git - features.git/blobdiff - src/KeyMap.cpp
Move the ItemType enum out of GuiPref and into KeyMap, where it belongs.
[features.git] / src / KeyMap.cpp
index a5e83b356bed7e497f19011a28ccef8e6ddd4cc6..19ce93464df2eb61d646b12122f62587a5925ea6 100644 (file)
@@ -449,7 +449,7 @@ KeyMap::Bindings KeyMap::findBindings(FuncRequest const & func,
 }
 
 
-KeyMap::BindingList KeyMap::listBindings(bool unbound, int tag) const
+KeyMap::BindingList KeyMap::listBindings(bool unbound, KeyMap::ItemType tag) const
 {
        BindingList list;
        listBindings(list, KeySequence(0, 0), tag);
@@ -475,7 +475,7 @@ KeyMap::BindingList KeyMap::listBindings(bool unbound, int tag) const
 
 
 void KeyMap::listBindings(BindingList & list,
-       KeySequence const & prefix, int tag) const
+       KeySequence const & prefix, KeyMap::ItemType tag) const
 {
        Table::const_iterator it = table.begin();
        Table::const_iterator it_end = table.end();