currentField as public method, setLayer as a slot
keep compatibility with 2.2 projects
add sip files