aboutsummaryrefslogtreecommitdiffstats
path: root/desktop-widgets/preferences/preferences_language.h
blob: a62d4d3dc014743b0ebdd52772a8554856931329 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// SPDX-License-Identifier: GPL-2.0
#ifndef PREFERENCES_LANGUAGE_H
#define PREFERENCES_LANGUAGE_H

#include <QMap>
#include "abstractpreferenceswidget.h"

namespace Ui {
	class PreferencesLanguage;
}

class PreferencesLanguage : public AbstractPreferencesWidget {
	Q_OBJECT
public:
	PreferencesLanguage();
	~PreferencesLanguage();
	void refreshSettings() override;
	void syncSettings() override;
private:
	Ui::PreferencesLanguage *ui;
	QMap<QString, QString> dateFormatShortMap;
public slots:
	void dateFormatChanged(const QString&);
};

#endif