should be:

void Application:: saveSettings(QSettings* set) {