title: Accessing enum values defined in a struct
body: <p>If I have the following:</p>
  
  <pre><code>struct LineChartScene::LineChartSceneImpl
  {
      enum ContextMenuAction {ShowLabels, ShowPoints, SaveAsImage};
  };
  </code></pre>
  
  <p>How can I access <code>ShowLabels</code>, <code>ShowPoints</code> etc outside <code>LineChartScene::LineChartSceneImpl</code> struct? I thought <code>LineChartScene::LineChartSceneImpl::ContextMenuAction::ShowLabels</code> would work but it doesn't. I'm using C++, Qt Creator 2.2.1.</p>