lyx_mirror/src/frontends/qt4/GuiKeySymbol.h
Guillaume Munch eb8c5905f6 Prioritize the shortcuts from the work areas
* Fix bug #10261 : KDE smartly adds conflicting accelerators.

* Prevent bugs like #9495 in the future.

Issues (non-regression):

* It does not appear possible to prevent Ubuntu's Unity from grabbing the
  accelerators for the menus. For instance Alt+A still opens _Affichage in the
  French localization.
2016-07-14 20:50:10 +01:00

29 lines
568 B
C++

// -*- C++ -*-
/**
* \file GuiKeySymbol.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author Asger and Jürgen
* \author John Levon
*
* Full author contact details are available in file CREDITS.
*/
#ifndef GUIKEYSYM_H
#define GUIKEYSYM_H
class QKeyEvent;
namespace lyx {
/// delayed constructor
void setKeySymbol(KeySymbol * sym, QKeyEvent const * ev);
/// return the LyX key state from Qt's
KeyModifier q_key_state(Qt::KeyboardModifiers state);
} // namespace lyx
#endif // GUIKEYSYM_H