try QSettings or do it with XML.