This is now quite specific to qtcontacts-sqlite -- is it worth ifdefing or checking the managerUri and only using the localContactFilter() in the qtcontacts-sqlite case?  Probably not, but thought I'd raise the point