2006-03-05 17:24:44 +00:00
|
|
|
// -*- C++ -*-
|
|
|
|
/**
|
2007-08-31 05:53:55 +00:00
|
|
|
* \file GuiKeySymbol.h
|
2006-03-05 17:24:44 +00:00
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
* Licence details can be found in the file COPYING.
|
|
|
|
*
|
2008-11-14 15:58:50 +00:00
|
|
|
* \author Asger and Jürgen
|
2006-03-05 17:24:44 +00:00
|
|
|
* \author John Levon
|
|
|
|
*
|
|
|
|
* Full author contact details are available in file CREDITS.
|
|
|
|
*/
|
|
|
|
|
2007-08-31 22:16:11 +00:00
|
|
|
#ifndef GUIKEYSYM_H
|
|
|
|
#define GUIKEYSYM_H
|
2006-03-05 17:24:44 +00:00
|
|
|
|
|
|
|
class QKeyEvent;
|
|
|
|
|
2006-10-21 00:16:43 +00:00
|
|
|
namespace lyx {
|
|
|
|
|
2007-09-17 18:41:03 +00:00
|
|
|
/// delayed constructor
|
|
|
|
void setKeySymbol(KeySymbol * sym, QKeyEvent * ev);
|
2006-03-05 17:24:44 +00:00
|
|
|
|
2007-08-14 15:00:09 +00:00
|
|
|
/// return the LyX key state from Qt's
|
2007-10-02 21:51:54 +00:00
|
|
|
KeyModifier q_key_state(Qt::KeyboardModifiers state);
|
2006-10-21 00:16:43 +00:00
|
|
|
|
|
|
|
} // namespace lyx
|
|
|
|
|
2007-08-31 22:16:11 +00:00
|
|
|
#endif // GUIKEYSYM_H
|