I've just dipped my toes into Qt and was wondering about the following.
Class QMessageBox defines public types including
Qt Code:
  1. enum StandardButton { Ok, Open, Save, Cancel, ..., ButtonMask }
To copy to clipboard, switch view to plain text mode 
and
Qt Code:
  1. flags StandardButtons
To copy to clipboard, switch view to plain text mode 

What is flags? Is it a typedef?