void  LanguageSettingsObjectWrapper::setTimeFormat(const QString& value)
{
	QSettings s;
	s.setValue("time_format", value);
	prefs.time_format = copy_string(qPrintable(value));;
	emit timeFormatChanged(value);
}
void MainWindowSettings::setTimeFormat(TimeFormat time_format)
{
    m_time_format = time_format;
    m_time_format_string = timeFormatToString(time_format);
    emit timeFormatChanged(time_format);
}