BAction & CAction classes are subclasses of QAction. They capure the triggered signal (when the menu item is clicked) and then emit
a new signal that contains the item's myVal value. A connect statement is then used to connect this new signal to a slot that
recieves the signal and checks the int to see which item was pressed.
