Define it in the header file, before the class definition and this:
Qt Code:
  1. benchFunc pointerName;
To copy to clipboard, switch view to plain text mode 

is a class member (I guess private).

It's better if you send me all the code you're trying to compile
(but soon I'll go home so I cannot help you before tomorrow).