2017-04-27 20:26:05 +02:00
|
|
|
// SPDX-License-Identifier: GPL-2.0
|
2015-09-17 15:58:26 -03:00
|
|
|
#ifndef PREFERENCES_LANGUAGE_H
|
|
|
|
#define PREFERENCES_LANGUAGE_H
|
|
|
|
|
2017-11-10 16:52:12 +02:00
|
|
|
#include <QMap>
|
2015-09-17 15:58:26 -03:00
|
|
|
#include "abstractpreferenceswidget.h"
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class PreferencesLanguage;
|
|
|
|
}
|
|
|
|
|
|
|
|
class PreferencesLanguage : public AbstractPreferencesWidget {
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
PreferencesLanguage();
|
2018-07-31 07:41:19 +02:00
|
|
|
~PreferencesLanguage();
|
2018-09-29 22:13:44 +02:00
|
|
|
void refreshSettings() override;
|
|
|
|
void syncSettings() override;
|
2015-09-17 15:58:26 -03:00
|
|
|
private:
|
|
|
|
Ui::PreferencesLanguage *ui;
|
2017-11-10 16:52:12 +02:00
|
|
|
QMap<QString, QString> dateFormatShortMap;
|
|
|
|
public slots:
|
|
|
|
void dateFormatChanged(const QString&);
|
2015-09-17 15:58:26 -03:00
|
|
|
};
|
|
|
|
|
2017-04-27 20:26:05 +02:00
|
|
|
#endif
|