void MainWindow::ClearSettings(){ QSettings settings(organization,application); //organization и application описаны выше константами settings.clear();}
QSettings::QSettings ( Format format, Scope scope, const QString & organization, const QString & application = QString(), QObject * parent = 0 );
QSettings s(root, QSettings::NativeFormat);s.remove(organization);
QSettings settings(QSettings::NativeFormat,QSettings::UserScope); settings.remove("organization");