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:
Kurt Hindenburg
2014-10-06 09:46:42 -04:00
parent 5b1470c536
commit cb1f25d950

View File

@@ -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.