maybe you forgot the Q_OBJECT macro? is searchfunc" defined as a slot?