I am not sure if this is the right place for this functions. Maybe it is more clear, if you put them in a singleton, representing the Database sync tool or inherit from QSqlDatabase.