type in the slot skeletons in mainwindow.cpp