mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-19 12:20:27 +00:00
eb8c5905f6
* 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.
29 lines
568 B
C++
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
|