title: How should i return Qt::WindowFlags in a function
body: <p>when i write a function :</p>
  <pre><code>    static inline Qt::WindowFlags windowFlags()
      {
          return Qt::Window | Qt::CustomizeWindowHint;
      }
  </code></pre>
  <p>i get error:
  <code>error: no viable conversion from returned value of type 'unsigned int' to function return type 'Qt::WindowFlags' (aka 'QFlags&lt;Qt::WindowType&gt;')</code>
  How should i do? Best wish for your help.</p>