mirror of
https://github.com/KDE/konsole.git
synced 2026-06-11 23:45:09 -04:00
Add Enum to handle meta keys on Mac OS
Part of the rb 120323
René J.V. Bertin rjvberti @gmai .com
(cherry picked from commit b2cf60009e)
This commit is contained in:
@@ -51,6 +51,17 @@ class TerminalDisplay;
|
||||
class ZModemDialog;
|
||||
class HistoryType;
|
||||
|
||||
/**
|
||||
* Platform-specific main shortcut "opcode":
|
||||
*/
|
||||
enum Modifier {
|
||||
#ifdef Q_OS_MAC
|
||||
ACCEL = Qt::META
|
||||
#else
|
||||
ACCEL = Qt::CTRL
|
||||
#endif
|
||||
};
|
||||
|
||||
/**
|
||||
* Represents a terminal session consisting of a pseudo-teletype and a terminal emulation.
|
||||
* The pseudo-teletype (or PTY) handles I/O between the terminal process and Konsole.
|
||||
|
||||
Reference in New Issue
Block a user