Hi all,

I need one fileFlag from an OR combination of FileFlags values (from QAbstractFileEngine).

This don't work:
Qt Code:
  1. QAbstractFileEngine *engine = QAbstractFileEngine::create("/home/chris/blah");
  2. if ( engine->fileFlags() == QAbstractFileEngine::FileType )
To copy to clipboard, switch view to plain text mode 

How can I check, if QAbstractFileEngine::FileType (for example) is in the compination of QAbstractFileEngine::fileFlags()?

Thx!
Chris