X-Git-Url: http://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fglobalsettings.hpp;fp=pv%2Fglobalsettings.hpp;h=56ca9632e45a3bdcbb757018bd72a177f493791a;hp=6902a097406edb187c53c5effc7c550aa26e4165;hb=0466001be51e779b23aaebec1cc9361305c07be9;hpb=1f5d683e6bbab6d5694bd28524b24022fef70195 diff --git a/pv/globalsettings.hpp b/pv/globalsettings.hpp index 6902a097..56ca9632 100644 --- a/pv/globalsettings.hpp +++ b/pv/globalsettings.hpp @@ -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);