]> sigrok.org Git - pulseview.git/blobdiff - pv/globalsettings.hpp
Implement translations
[pulseview.git] / pv / globalsettings.hpp
index 6902a097406edb187c53c5effc7c550aa26e4165..56ca9632e45a3bdcbb757018bd72a177f493791a 100644 (file)
@@ -51,6 +51,7 @@ class GlobalSettings : public QSettings
        Q_OBJECT
 
 public:
+       static const QString Key_General_Language;
        static const QString Key_General_Theme;
        static const QString Key_General_Style;
        static const QString Key_General_SaveWithSetup;
@@ -92,6 +93,8 @@ public:
        static bool current_theme_is_dark();
        void apply_theme();
 
+       void apply_language();
+
        static void add_change_handler(GlobalSettingsInterface *cb);
        static void remove_change_handler(GlobalSettingsInterface *cb);