Ok, sorry...
I got the correct signature
Qt Code:
inline void DefineFun(const string_type &a_strName, TYPE a_pFun, bool a_bAllowOpt = true)To copy to clipboard, switch view to plain text mode
Then, i have just noticed, that the example is passing the a regular function, while you are trying to to pass a function that is a class member.
Bookmarks