should be:

void Application:: saveAction(QSettings* set, QAction* action) {