aboutsummaryrefslogtreecommitdiffstats
path: root/core/settings/qPrefLanguage.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/settings/qPrefLanguage.h')
-rw-r--r--core/settings/qPrefLanguage.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/core/settings/qPrefLanguage.h b/core/settings/qPrefLanguage.h
index e004f79d3..f3c15823a 100644
--- a/core/settings/qPrefLanguage.h
+++ b/core/settings/qPrefLanguage.h
@@ -7,14 +7,14 @@
class qPrefLanguage : public QObject {
Q_OBJECT
- Q_PROPERTY(QString date_format READ date_format WRITE set_date_format NOTIFY date_format_changed);
- Q_PROPERTY(bool date_format_override READ date_format_override WRITE set_date_format_override NOTIFY date_format_override_changed);
- Q_PROPERTY(QString date_format_short READ date_format_short WRITE set_date_format_short NOTIFY date_format_short_changed);
- Q_PROPERTY(QString language READ language WRITE set_language NOTIFY language_changed);
- Q_PROPERTY(QString lang_locale READ lang_locale WRITE set_lang_locale NOTIFY lang_locale_changed);
- Q_PROPERTY(QString time_format READ time_format WRITE set_time_format NOTIFY time_format_changed);
- Q_PROPERTY(bool time_format_override READ time_format_override WRITE set_time_format_override NOTIFY time_format_override_changed);
- Q_PROPERTY(bool use_system_language READ use_system_language WRITE set_use_system_language NOTIFY use_system_language_changed);
+ Q_PROPERTY(QString date_format READ date_format WRITE set_date_format NOTIFY date_formatChanged);
+ Q_PROPERTY(bool date_format_override READ date_format_override WRITE set_date_format_override NOTIFY date_format_overrideChanged);
+ Q_PROPERTY(QString date_format_short READ date_format_short WRITE set_date_format_short NOTIFY date_format_shortChanged);
+ Q_PROPERTY(QString language READ language WRITE set_language NOTIFY languageChanged);
+ Q_PROPERTY(QString lang_locale READ lang_locale WRITE set_lang_locale NOTIFY lang_localeChanged);
+ Q_PROPERTY(QString time_format READ time_format WRITE set_time_format NOTIFY time_formatChanged);
+ Q_PROPERTY(bool time_format_override READ time_format_override WRITE set_time_format_override NOTIFY time_format_overrideChanged);
+ Q_PROPERTY(bool use_system_language READ use_system_language WRITE set_use_system_language NOTIFY use_system_languageChanged);
public:
qPrefLanguage(QObject *parent = NULL);
@@ -46,14 +46,14 @@ public slots:
static void set_use_system_language(bool value);
signals:
- void date_format_changed(const QString& value);
- void date_format_override_changed(bool value);
- void date_format_short_changed(const QString& value);
- void language_changed(const QString& value);
- void lang_locale_changed(const QString& value);
- void time_format_changed(const QString& value);
- void time_format_override_changed(bool value);
- void use_system_language_changed(bool value);
+ void date_formatChanged(const QString& value);
+ void date_format_overrideChanged(bool value);
+ void date_format_shortChanged(const QString& value);
+ void languageChanged(const QString& value);
+ void lang_localeChanged(const QString& value);
+ void time_formatChanged(const QString& value);
+ void time_format_overrideChanged(bool value);
+ void use_system_languageChanged(bool value);
private:
static void disk_date_format(bool doSync);