Quote Originally Posted by Boron View Post
Unless you make a "typedef enum", both functions will be the same for your compiler.
Proofed and "no" (leastwise in my case), but don't ask me why, because I'm not an information scientist. The problem was, that sourceModel() referred to a QAbstractItemModel* which hasn't a member with BibtexGlobal::SearchFilter. After an const_cast to my model all worked as expected. Even without a typedef the correct function is called.

Thanks anyway

Lykurg