delete settings;
QSettings *settings;
class CReadWriteINIParam{ private: QSettings* settings;}CReadWriteINIParam::CReadWriteINIParam(){ settings = new QSettings(sFileININame, QSettings::IniFormat);}CReadWriteINIParam::~CReadWriteINIParam(){ if (settings != NULL) delete settings;}
CReadWriteINIParam::~CReadWriteINIParam(){ if (settings != NULL) delete settings;}