text: The QKeySequence class encapsulates a key sequence as used by shortcuts. More...
  #include <QKeySequence>
  The QKeySequence class encapsulates a key sequence as used by shortcuts.
  A key sequence consists of up to four keyboard codes, each optionally combined with modifiers, such as Qt::SHIFT, Qt::CTRL, Qt::ALT or Qt::META. For example, Qt::CTRL + Qt::Key_P might be a sequence used as a shortcut for printing a document. Valid codes for keys and modifiers are listed in Qt::Key and Qt::Modifier. As an alternative, use the unicode code point of the character; for example, 'A' gives the same key sequence as Qt:Shortcut" context.
  See also QShortcut. contructor.
  Destroys the key sequence.
  Returns the number of keys in the key sequence. The maximum is 4.
  Returns true if the key sequence is empty; otherwise returns false..
  Creates a shortcut string for the key sequence." scope.
  If the key sequence has no keys, an empty string is returned.
  On Mac OS X, the string returned resembles the sequence that is shown in the menubar.. It behaves essentially like the above function.
  Writes the key sequence to the stream.
  See also Format of the QDataStream operators.
  This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
  Reads a key sequence from the stream into the key sequence.
  See also Format of the QDataStream operators.